You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am loading a tree of items from a JSON file. Each tree item should be a Screen in the app.
The user should be able to navigate through this tree of screens like in the iOS settings dialog:
I was hoping to load the JSON when the app starts, and to dynamically generate screens and nested navigators based on the data.
This is not possible in React Native Navigation, though: screens need to be known statically.
Is there a way to do this in RNRF, or is it a React Native specific limitation?
I'm still new to RN, sorry if this is a dumb question.
The text was updated successfully, but these errors were encountered:
pekka
changed the title
Can I add scenes dynamically during runtime using RNRF?
Can I create scenes/routes during runtime using RNRF?
Sep 8, 2017
@pekka I would have all of the screens load, but some sort abstraction that will show what routes are available to use versus what aren't. If you are using a store like Redux or Mobx then that would be a good place to store that.
I am loading a tree of items from a JSON file. Each tree item should be a Screen in the app.
The user should be able to navigate through this tree of screens like in the iOS settings dialog:
I was hoping to load the JSON when the app starts, and to dynamically generate screens and nested navigators based on the data.
This is not possible in React Native Navigation, though: screens need to be known statically.
Is there a way to do this in RNRF, or is it a React Native specific limitation?
I'm still new to RN, sorry if this is a dumb question.
The text was updated successfully, but these errors were encountered: