Sublime Snippets Flashcards
1
Q
class component skeleton
A
rcc
2
Q
componentDidMount() {…}
A
cdm
3
Q
componentDidUpdate(prevProps, prevState) {…}
A
cdup
4
Q
componentWillMount() {…}
A
cwm
5
Q
componentWillReceiveProps(nextProps) {…}
A
cwr
6
Q
componentWillUnmount() {…}
A
cwun
7
Q
componentWillUpdate(nextProps, nextState) {…}
A
cwup
8
Q
React.findDOMNode(…)
A
fdn
9
Q
getInitialState() {…}
A
gis
10
Q
render() {…}
A
ren
11
Q
this.setState(…)
A
sst
12
Q
shouldComponentUpdate(nextProps, nextState) {…}
A
scu
13
Q
this.props
A
props
14
Q
this.state
A
state