Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openDrawer and close are missing from useNavigation from expo-router #28925

Open
pvinis opened this issue May 16, 2024 · 0 comments
Open

openDrawer and close are missing from useNavigation from expo-router #28925

pvinis opened this issue May 16, 2024 · 0 comments
Labels
needs review Issue is ready to be reviewed by a maintainer Router expo-router

Comments

@pvinis
Copy link
Contributor

pvinis commented May 16, 2024

Minimal reproducible example

https://snack.expo.dev/@pvinis/react-navigation-playground

Which package manager are you using? (Yarn is recommended)

pnpm

If the issue is web-related, please select the bundler (web.bundler in the app.json)

None

Summary

It seems the useNavigation hook has different types in expo-router than react navigation.

Environment

expo-env-info 1.2.0 environment info:
System:
OS: macOS 14.4.1
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.13.0 - ~/.local/share/mise/installs/node/20/bin/node
Yarn: 1.22.19 - ~/.local/share/mise/installs/yarn/1/bin/yarn
npm: 10.5.2 - ~/.local/share/mise/installs/node/20/bin/npm
Managers:
CocoaPods: 1.14.2 - /Users/pvinis/.local/share/mise/installs/ruby/3.3/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 23.4, iOS 17.4, macOS 14.4, tvOS 17.4, visionOS 1.1, watchOS 10.4
IDEs:
Android Studio: 2023.2 AI-232.10300.40.2321.11668458
Xcode: 15.3/15E204a - /usr/bin/xcodebuild
npmPackages:
expo: ^51.0.7 => 51.0.7
expo-router: ~3.5.14 => 3.5.14
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native: 0.74.1 => 0.74.1
react-native-web: ~0.19.11 => 0.19.11
Expo Workflow: managed

@pvinis pvinis added needs validation Issue needs to be validated Router expo-router labels May 16, 2024
@expo-bot expo-bot added needs review Issue is ready to be reviewed by a maintainer and removed needs validation Issue needs to be validated labels May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review Issue is ready to be reviewed by a maintainer Router expo-router
Projects
None yet
Development

No branches or pull requests

2 participants