1 min readMay 20, 2019
The standard pattern is to initialize state in the constructor and asynchronously load data in componentDidMount. And we use render for rendering the View component. Hope this makes sense.
The standard pattern is to initialize state in the constructor and asynchronously load data in componentDidMount. And we use render for rendering the View component. Hope this makes sense.