Downgrade react-navigation version

If I were to run expo install for react-navigation and give it a version number, would I be able to use react-nativation version 4.x with sdk 36? There is a shared element transition library I want to use but it only supports version 4 right now, so trying to figure out if I can keep going on my project or if I need to eject or start a new project with a different sdk, etc. Any advice?

yes, you may do this. follow the installation instructions on the react-navigation 4 docs: https://reactnavigation.org/docs/en/4.x/getting-started.html

i assume the library you’re talking about is react-native-shared-element and the navigation piece for it react-navigation-shared-element, right?

Perfect…seem to have that working.

And yep, that’s the exact library I’m looking to use.

Thanks for the help, I appreciate it!

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.