dillon1000/react
Commit
Browse files rename this tip to be less confusing
Using props to initialize state is completely fine; the issue is using state as a "cache" for values calculated based off of props. This title makes it more clear.
Changed paths1 file
First-parent comparisondocs/tips/10-props-in-getInitialState-as-anti-pattern.md ModifiedPatch
Files changed
Rendering syntax-highlighted changes…