-
-
Notifications
You must be signed in to change notification settings - Fork 521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: migrate examples to react-navigation v7 #2194
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess if these are only examples that you detected to have problems we should proceed with merging.
We should just keep in mind, than when testing it might be possible that some tests require porting.
Going through every single example, testing it & wondering whether something needs to be ported is a waste of time for now. I'll write this to backlog, but rn let's move forward.
## Description This PR intents to migrate examples to react-navigation v7. Documentation: https://reactnavigation.org/docs/7.x/upgrading-from-6.x/ As for now I have only found ~~two~~ few files that needed changes. I ensured that nothing crashes in the example. ## Changes - migrated navigating to nested screen - replaced `navigate` with `popTo` when explicitly going back to a specific screen - ensured nothing crashes <!-- ## Screenshots / GIFs Here you can add screenshots / GIFs documenting your change. You can add before / after section if you're changing some behavior. ### Before ### After --> ## Test code and steps to reproduce <!-- Please include code that can be used to test this change and short description how this example should work. This snippet should be as minimal as possible and ready to be pasted into editor (don't exclude exports or remove "not important" parts of reproduction example) --> ## Checklist - [x] Ensured that CI passes
## Description This PR intents to migrate examples to react-navigation v7. Documentation: https://reactnavigation.org/docs/7.x/upgrading-from-6.x/ As for now I have only found ~~two~~ few files that needed changes. I ensured that nothing crashes in the example. ## Changes - migrated navigating to nested screen - replaced `navigate` with `popTo` when explicitly going back to a specific screen - ensured nothing crashes <!-- ## Screenshots / GIFs Here you can add screenshots / GIFs documenting your change. You can add before / after section if you're changing some behavior. ### Before ### After --> ## Test code and steps to reproduce <!-- Please include code that can be used to test this change and short description how this example should work. This snippet should be as minimal as possible and ready to be pasted into editor (don't exclude exports or remove "not important" parts of reproduction example) --> ## Checklist - [x] Ensured that CI passes
Description
This PR intents to migrate examples to react-navigation v7.
Documentation: https://reactnavigation.org/docs/7.x/upgrading-from-6.x/
As for now I have only found
twofew files that needed changes. I ensured that nothing crashes in the example.Changes
navigate
withpopTo
when explicitly going back to a specific screenTest code and steps to reproduce
Checklist