https://github.com/boycce/sublime-react-es6-boyce
ReactJS helpers for Sublime text 3
https://github.com/boycce/sublime-react-es6-boyce
Last synced: 4 months ago
JSON representation
ReactJS helpers for Sublime text 3
- Host: GitHub
- URL: https://github.com/boycce/sublime-react-es6-boyce
- Owner: boycce
- License: apache-2.0
- Created: 2018-10-24T23:07:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-24T23:39:11.000Z (over 7 years ago)
- Last Synced: 2025-10-09T04:28:42.999Z (8 months ago)
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sublime-react-es6-boyce
This is a fork of `sublime-react-es6` with a few snippet modifications for my personal preference
The main changes I've made:
- *List changes here*
- *..*
#### Documentation of available snippets (JSX):
```
cdm→ componentDidMount: fn() { ... }
cdup→ componentDidUpdate: fn(pp, ps) { ... }
cs→ import cx from 'classnames';
cwm→ componentWillMount: fn() { ... }
cwr→ componentWillReceiveProps: fn(np) { ... }
cwu→ componentWillUpdate: fn(np, ns) { ... }
cwun→ componentWillUnmount: fn() { ... }
cx→ cx({ ... })
fdn→ React.findDOMNode(...)
fup→ forceUpdate(...)
gdp→ static defaultProps = { ... }
gis→ getInitialState: fn() { return {...} }
ism→ isMounted()
props→ this.props.
pt→ propTypes { ... }
rcc→ component skeleton
refs→ this.refs.
ren→ render: fn() { return ... }
rpc→ pure render component skeleton
rrc→ redux component skeleton
scu→ shouldComponentUpdate: fn(np, ns) { ... }
sst→ this.setState({ ... })
state→ this.state.
```