source: imaps-frontend/node_modules/eslint-plugin-react/lib/util/lifecycleMethods.js@ d565449

main
Last change on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 611 bytes
Line 
1/**
2 * @fileoverview lifecycle methods
3 * @author Tan Nguyen
4 */
5
6'use strict';
7
8module.exports = {
9 instance: [
10 'getDefaultProps',
11 'getInitialState',
12 'getChildContext',
13 'componentWillMount',
14 'UNSAFE_componentWillMount',
15 'componentDidMount',
16 'componentWillReceiveProps',
17 'UNSAFE_componentWillReceiveProps',
18 'shouldComponentUpdate',
19 'componentWillUpdate',
20 'UNSAFE_componentWillUpdate',
21 'getSnapshotBeforeUpdate',
22 'componentDidUpdate',
23 'componentDidCatch',
24 'componentWillUnmount',
25 'render',
26 ],
27 static: [
28 'getDerivedStateFromProps',
29 ],
30};
Note: See TracBrowser for help on using the repository browser.