https://github.com/yeojz/atom-react-snippets
React / Redux snippets (ES5/6/6+)
https://github.com/yeojz/atom-react-snippets
Last synced: 5 months ago
JSON representation
React / Redux snippets (ES5/6/6+)
- Host: GitHub
- URL: https://github.com/yeojz/atom-react-snippets
- Owner: yeojz
- License: mit
- Created: 2016-07-02T09:42:15.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-14T14:07:13.000Z (over 8 years ago)
- Last Synced: 2024-12-25T21:09:48.094Z (10 months ago)
- Language: CoffeeScript
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# atom-react-snippets
Atom React + Redux snippets (ES5, ES6, ES6+)[](https://atom.io/packages/atom-react-snippets)
## About
In addition to the common lifecycle and component snippets, Some stage-0
snippets are also included.Example: `class property initialization`
```js
class Counter extends React.Component {
componentWillMount = () => {
...
}
...
}
```Some [`Redux`](https://github.com/reactjs/redux) based skeleton structure like `reducer`,
`middleware` and `connect(component)` class snippets are also included.## Credits
A portion of the React snippets are based off the snippets in atom [react](https://atom.io/packages/react) package.However, due the aforementioned package and [language-babel](https://atom.io/packages/language-babel) incompatibilities and I mostly depend on the snippets, I decided to fork it out as a separate repo.
If you do not use `language-babel`, you may want to consider looking at the `react` package which includes some of the snippets in this repo.