An open API service indexing awesome lists of open source software.

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

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.

```