Screens in new SDK and Navigator. Do I have to rewrite my entire App?

  1. SDK Version: 39
  2. Platforms(Android/iOS/web/all): all

I updated to the new SDK and it looks like I have to rewrite my entire App. Navigation 5.x works in a whole new way. Screens can not be classes anymore as they limit how you use hooks. And hooks are needed for the navigation to get properties. (useRoute).

Is it me not getting anything or did the whole framework just change?

It will take me insane amounts of time to just adapt to this new framework and navigation.

Any easy way to get going?

It is quite a big App codewise:

Best
Andy

you can continue to use react-navigation v4 indefinitely. react-navigation v5 is not required. you can access the v4 docs here: https://reactnavigation.org/docs/4.x/getting-started

1 Like

That made it SOOOO much easier! Thanks a lot :slight_smile:

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