hooks icon indicating copy to clipboard operation
hooks copied to clipboard

Include v5 patching for users converting from v4 to v5?

Open alexpchin opened this issue 5 years ago • 1 comments

Would it be an idea to import useNavigation from `'@react-navigation/native';`` and use that if the user has react-navigation v5 installed? I'm in the process of upgrading from v4 to v5 and of course lots of my screens are broken.

It might be a silly idea?

alexpchin avatar Mar 24 '20 19:03 alexpchin

Hi

Sorry can you explain, I'm not sure to understand.

If we can make it easier to migrate hooks from v4 to v5, we should probably, but don't know how

Le mar. 24 mars 2020 à 20:49, Alex Chin [email protected] a écrit :

Would it be an idea to import useNavigation from `'@react-navigation/native';`` and use that if the user has react-navigation v5 installed? I'm in the process of upgrading from v4 to v5 and of course lots of my screens are broken.

It might be a silly idea?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/react-navigation/hooks/issues/65, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFW6PQRIGB7JKAMREQMXT3RJEFEXANCNFSM4LS6EMFA .

slorber avatar Mar 24 '20 20:03 slorber