Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable eslint's react/no-did-update-set-state check
We use React >= 16.3, and everywhere we use setState in componentDidUpdate, we do that inside an if where we check against previous values. So the rule does not really apply to us. See e.g. the discussion here: jsx-eslint/eslint-plugin-react#1754
- Loading branch information