Skip to content

Commit 271f9d2

Browse files
committed
Merge pull request #509 from coryhouse/patch-1
Update no-set-state documentation
2 parents e3c27f9 + fc66ded commit 271f9d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/no-set-state.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Prevent usage of setState (no-set-state)
22

3-
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.
3+
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.
44

55
## Rule Details
66

0 commit comments

Comments
 (0)