jsx-eslint/eslint-plugin-react
在 GitHub 查看react/no-direct-mutation-state doesn't catch all cases
Open
#1,418 建立於 2017年9月8日
help wanted
描述
const { model } = this.state;
model.rating = rate;
In this case eslint won't show any errors.
#1,418 建立於 2017年9月8日
const { model } = this.state;
model.rating = rate;
In this case eslint won't show any errors.