We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0830226 commit 108abb3Copy full SHA for 108abb3
docs/rules/sort-comp.md
@@ -8,7 +8,7 @@ When creating React components it is more convenient to always follow the same o
8
9
With default configuration the following organisation must be followed:
10
11
- 1. static methods
+ 1. static methods and properties
12
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).
13
3. custom methods
14
4. `render` method
0 commit comments