I know that I can do something like this:
Actions.routeName(someDataObject)
What if I want to add an initial props to a a component rendered by a scene at creation? At this point 'Actions' is unavailable?
I know that I can do something like this:
Actions.routeName(someDataObject)
What if I want to add an initial props to a a component rendered by a scene at creation? At this point 'Actions' is unavailable?
Copyright © 2021 Jogjafile Inc.
Ah, Just realized that any props passed to the 'Scene' component are available in the component that is being rendered by that scene.
So, something like this
will mean that initialProps will be available in 'props.component'.