Just a little help for newbies
For beginners in the philosophy of react and redux (me), and syntax es6 all together, it is a bit difficult to understand this model of boilerplate, but I feel that is very complete and intelligent. Can you add a couple of more scenes (pages?) to understand how routing works, and how the store is passed between scenes.
That would be a big help. Thanks in advance
This repo needs an update to latest RN standards, but would you prefer a video screencast on how to us e this? As opposed to adding more boilerplate?
Thanks For newbies video and boilerplate updated, i am for the old school (52 years old) and still prefer read code on paper! Where is the video?
Thanks for your quick answer
I am actually running into the same problem. I haven't really figured how to fire off a new scene or create a route with this boilerplate.
HI @mccjul. I have made a test starting with this boilerplate. Main changes are a RootComponent like this:
const store = configureStore();
const AppContainer = connectComponent(App);
//Root
export default class RootComponent extends Component {
render () {
return (
<Provider store={store}>
<AppContainer />
</Provider>
)
}
}
Note the inside App is a container for the App component, so all Redux Store is avalable to all the pages.
The code is in here In this repo rntest, with some more test.
@srlopez Thank you so much sir! I started reading the documentation on the navigator and I began to understand how it worked. But this is easier to read in my opinion.