jsx-eslint/eslint-plugin-react
GitHub で見るreact/no-direct-mutation-state doesn't catch all cases
Open
#1,418 opened on 2017年9月8日
help wanted
説明
const { model } = this.state;
model.rating = rate;
In this case eslint won't show any errors.
#1,418 opened on 2017年9月8日
const { model } = this.state;
model.rating = rate;
In this case eslint won't show any errors.