Download the snippet or snippets of your choice to:
/Users/username/Library/Application Support/Sublime Text 3/Packages/User
Available React Snippets
TabTrigger | Content |
---|---|
act | creates the action |
acty | creates the action type |
cdm | ComponentDidMount |
cwm | ComponentWillMount |
boc | Button witn an onClick event |
brc | Basic React Component |
eo | Export an action |
fset | Fetch and set the state |
fp | Fetch with a Post Request |
fpa | Fetch with a Patch Request |
ic | Import a component |
ioc | Input onChange |
lbo | Linking a button onClick |
md2p | MapDispatch2Props |
ro | setup a route |
s2p | state2Props |
sto | creates the store |
tao | textarea with a OnChange |
For more information about how to create your own snippets