Atom Packages Directory

a package directory for a text editor of the 21st Century

Mighty React Snippets by Nick S. Plekhanov

Install with:
    apm install mighty-react-snippets
  

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)

sh npm install --save-dev eslint-config-airbnb babel-eslint eslint-plugin-react eslint echo '\''{ extends: [airbnb], }'\'' > .eslintrc'

Installation

sh 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

Keywords: react, redux, es6, atom, snippets Suggest keywords
Fork me on GitHub