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 eslint
echo '\''{ extends: [airbnb], }'\'' > .eslintrc'
apm install mighty-react-snippets
- Fork repo
- Create your feature branch:
git checkout -b my-cool-feature
- Commit your changes:
git commit -m 'Add cool feature'
- Push changes:
git push origin my-cool-feature
- Submit a pull request
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