Atom Packages Directory

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

React Snippets

Install with:
    apm install atom-react-snippets
  

atom-react-snippets

Atom React + Redux snippets (ES5, ES6, ES6+)

apm

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 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 package.

However, due the aforementioned package and 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.

Keywords: react, redux, snippets, es6, es6+, es2015, es7 Suggest keywords
Fork me on GitHub