useNavigation shouldn't be in @react-navigation/native?
kopax opened this issue · comments
I have created the following issue regarding useNavigation
error : https://github.com/react-navigation/native/issues/37
Should I instead use this module? If yes, I am currently implementing react-navigation 4.0.10, while you seems to support 3.11.1 (See https://github.com/react-navigation/hooks/blob/master/package.json#L62)
Which packages should I use to access the navigation
object?
Using react-navigation-hooks@1.1.0
seems to fix the issue, this should be updated in expo doc
@slorber, thanks for your quick reply.
Yes I did but already and apparently I was using the wrong react-navigation documentation (v5 while using v4) so the wrong hooks.