Skip to content

Commit

Permalink
Merge pull request #509 from coryhouse/patch-1
Browse files Browse the repository at this point in the history
Update no-set-state documentation
  • Loading branch information
yannickcr committed Mar 27, 2016
2 parents e3c27f9 + fc66ded commit 271f9d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/no-set-state.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Prevent usage of setState (no-set-state)

When using an architecture that separates your application state from your UI components (e.g. Flux), it may be desirable to forbid the use of local component state.
When using an architecture that separates your application state from your UI components (e.g. Flux), it may be desirable to forbid the use of local component state. This rule is especially helpful in read-only applications (that don't use forms), since local component state should rarely be necessary in such cases.

## Rule Details

Expand Down

0 comments on commit 271f9d2

Please sign in to comment.