Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nicksp/mighty-react-snippets
Crafty React & Redux snippets for Atom Editor
https://github.com/nicksp/mighty-react-snippets
atom atom-editor atom-package react-snippets redux-snippets
Last synced: about 1 month ago
JSON representation
Crafty React & Redux snippets for Atom Editor
- Host: GitHub
- URL: https://github.com/nicksp/mighty-react-snippets
- Owner: nicksp
- License: mit
- Created: 2016-08-08T19:09:09.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-08T23:12:59.000Z (over 8 years ago)
- Last Synced: 2024-11-03T12:32:07.051Z (about 1 month ago)
- Topics: atom, atom-editor, atom-package, react-snippets, redux-snippets
- Language: CoffeeScript
- Homepage: https://atom.io/packages/mighty-react-snippets
- Size: 16.6 KB
- Stars: 18
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - mighty-react-snippets - Crafty React and Redux ES6 snippets for Atom Editor. (Dev Tools / Miscellaneous)
- awesome-react-components - mighty-react-snippets - Crafty React and Redux ES6 snippets for Atom Editor. (Dev Tools / Miscellaneous)
- awesome-react-components - mighty-react-snippets - Crafty React and Redux ES6 snippets for Atom Editor. (Dev Tools / Miscellaneous)
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)**
```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
- [React Snippets](https://github.com/nicksp/mighty-react-snippets/wiki/React-Snippets)
- [React Router Snippets](https://github.com/nicksp/mighty-react-snippets/wiki/Router-Snippets)
- [Redux Snippets](https://github.com/nicksp/mighty-react-snippets/wiki/Redux-Snippets)## Contributing
1. Fork repo
1. Create your feature branch: `git checkout -b my-cool-feature`
1. Commit your changes: `git commit -m 'Add cool feature'`
1. Push changes: `git push origin my-cool-feature`
1. 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](https://nicksp.mit-license.org/) © Nick S. Plekhanov