David Walsh
Results
1
issues of
David Walsh
It might be worth revisiting [react/no-did-update-set-state](https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-did-update-set-state.md). Now that `componentWillReceiveProps()` is being deprecated, `componentDidUpdate()` is the only "safe" way to detect changes in props and set state accordingly. The [React docs](https://reactjs.org/docs/react-component.html#componentdidupdate)...