You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Typescript in my project (react-navigation comes with types out of the box), but otherwise followed your instructions to the letter.
It all works fine in the emulator, too. 🥳
But it's worth noting that there seems to be a missing prop for the useNavigation hook.
It's not an issue with your code, just with react-navigation, it seems, which people using Typescript will notice when following your video, so i thought I register it here for others to find.
Hi,
I am using Typescript in my project (react-navigation comes with types out of the box), but otherwise followed your instructions to the letter.
It all works fine in the emulator, too. 🥳
But it's worth noting that there seems to be a missing prop for the
useNavigation
hook.It's not an issue with your code, just with react-navigation, it seems, which people using Typescript will notice when following your video, so i thought I register it here for others to find.
These are the props the
navigation
comes with:For reference, there is a related issue on the react-native repo: react-navigation/hooks#42
The text was updated successfully, but these errors were encountered: