We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fc8a62e + 1c15035 commit dd41688Copy full SHA for dd41688
docs/rules/sort-comp.md
@@ -6,7 +6,7 @@ When creating React components it is more convenient to always follow the same o
6
7
With default configuration the following organisation must be followed:
8
9
- 1. lifecycle methods: `displayName` ,`propTypes` ,`contextTypes` ,`childContextTypes` ,`mixins` ,`statics` ,`getDefaultProps` ,`getInitialState` ,`getChildContext` ,`componentWillMount` ,`componentDidMount` ,`componentWillReceiveProps` ,`shouldComponentUpdate` ,`componentWillUpdate` ,`componentDidUpdate` ,`componentWillUnmount` (in this order).
+ 1. lifecycle methods: `displayName`, `propTypes`, `contextTypes`, `childContextTypes`, `mixins`, `statics`, `getDefaultProps`, `getInitialState`, `getChildContext`, `componentWillMount`, `componentDidMount`, `componentWillReceiveProps`, `shouldComponentUpdate`, `componentWillUpdate`, `componentDidUpdate`, `componentWillUnmount` (in this order).
10
2. custom methods
11
3. `render` method
12
0 commit comments