Skip to content

Commit 108abb3

Browse files
committed
Update sort-comp documentation
1 parent 0830226 commit 108abb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/sort-comp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ When creating React components it is more convenient to always follow the same o
88

99
With default configuration the following organisation must be followed:
1010

11-
1. static methods
11+
1. static methods and properties
1212
2. lifecycle methods: `displayName`, `propTypes`, `contextTypes`, `childContextTypes`, `mixins`, `statics`,`defaultProps`, `constructor`, `getDefaultProps`, `getInitialState`, `state`, `getChildContext`, `componentWillMount`, `componentDidMount`, `componentWillReceiveProps`, `shouldComponentUpdate`, `componentWillUpdate`, `componentDidUpdate`, `componentWillUnmount` (in this order).
1313
3. custom methods
1414
4. `render` method

0 commit comments

Comments
 (0)