dillon1000/react
Commit
Browse files docs better indicate that state updaters shallowly merge with state (#9554)
this was a surprise to me because the docs seemed to indicate that when using an updater, the result _needed_ to be a new state object. I was [not alone](https://twitter.com/ken_wheeler/status/857939690191806464) i think in discovering this as a result of the previous tweet in the thread.
Changed paths1 file
First-parent comparisondocs/docs/reference-react-component.md ModifiedPatch
Files changed
Rendering syntax-highlighted changes…