mighty-react-snippets
v1.0.1
Published
Crafty React and Redux ES6 snippets for Atom Editor
Downloads
58
Readme
Mighty React & Redux Snippets
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'
Installation
apm install mighty-react-snippets
Features / Available Commands
Contributing
- 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
Usage
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.
License
MIT License © Nick S. Plekhanov