dillon1000/react
Commit
Browse files tutorial: Fetch data in componentDidMount instead
In a world where this component was server-rendered, we wouldn't want to call the data-fetching code there so it makes more sense to have it in componentDidMount.
Changed paths1 file
First-parent comparisondocs/docs/tutorial.md ModifiedPatch
Files changed
Rendering syntax-highlighted changes…