mighty-react-snippets

Crafty React and Redux ES6 snippets for Atom Editor


License
MIT
Install
apm install mighty-react-snippets@1.0.1

Documentation

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

  1. Fork repo
  2. Create your feature branch: git checkout -b my-cool-feature
  3. Commit your changes: git commit -m 'Add cool feature'
  4. Push changes: git push origin my-cool-feature
  5. 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