Last active
August 29, 2015 14:15
-
-
Save xincici/5e3bd6378ef58b6deae5 to your computer and use it in GitHub Desktop.
shorthand for reactjs plugin in sublime text 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cdm→ componentDidMount: fn() { ... } | |
cdup→ componentDidUpdate: fn(pp, ps) { ... } | |
cs→ var cx = React.addons.classSet; | |
cwm→ componentWillMount: fn() { ... } | |
cwr→ componentWillReceiveProps: fn(np) { ... } | |
cwu→ componentWillUpdate: fn(np, ns) { ... } | |
cwun→ componentWillUnmount: fn() { ... } | |
cx→ cx({ ... }) | |
fup→ forceUpdate(...) | |
gdp→ getDefaultProps: fn() { return {...} } | |
gis→ getInitialState: fn() { return {...} } | |
ism→ isMounted() | |
props→ this.props. | |
pt→ propTypes { ... } | |
rcc→ component skeleton | |
refs→ this.refs. | |
ren→ render: fn() { return ... } | |
scu→ shouldComponentUpdate: fn(np, ns) { ... } | |
sst→ this.setState({ ... }) | |
state→ this.state. | |
trp→ transferPropsTo( ... ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment