Search code examples
react-native-navigationwix-react-native-navigation

From React-native-navigation v1 to react-native-navigation v2 for existing project


Is their any way to convert react-native-navigation v1 project to react-native-navigation v2


Solution

  • We're experimenting with an adapter that allows you to use existing v1 api with v2. https://github.com/wix-playground/react-native-navigation-v1-v2-adapter

    We were able to convert a very large project to v2 in a few minutes. I would recommend using it as a temporary step while you transition to v2. Whenever you use a v1 api, it prints to log the equivalent v2 api which lets you convert your app at your own pace.