jsx-eslint/eslint-plugin-react

react/no-direct-mutation-state doesn't catch all cases

Open

#1,418 opened on 2017年9月8日

GitHub で見る
 (8 comments) (0 reactions) (0 assignees)JavaScript (2,797 forks)batch import
help wanted

Repository metrics

Stars
 (8,630 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

  const { model } = this.state;
  model.rating = rate;

In this case eslint won't show any errors.

コントリビューターガイド