Atom editor snippets for React and Redux. Made to be compliant with the latest & hottest ES6 and ES7 standards.
Add the Airbnb's ESLint config to your project (optional)
npm install --save-dev eslint-config-airbnb babel-eslint eslint-plugin-react eslintecho '\''{ extends: [airbnb], }'\'' > .eslintrc'
apm install mighty-react-snippets
git checkout -b my-cool-feature
git commit -m 'Add cool feature'
git push origin my-cool-feature
After install just type one of the shortcuts below and hit tab to expand the snippet in your editor. Only works on files already saved as .js
or .jsx
.
Continue hitting tab to cycle through and highlight common editing points in a snippet. The ${N}
syntax in the examples below denote the highlight points.
MIT License © Nick S. Plekhanov
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.