dillon1000/react

Commit

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.
Browse files
Changed paths1 file
First-parent comparison
M docs/docs/tutorial.md Modified
Patch

Files changed

Rendering syntax-highlighted changes…