• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

atom-react-snippets

React / Redux snippets (ES5/6/6+)
  • #react
  • #redux
  • #snippets
  • #es6
  • #es6+
yeojz
0.2.2 6,124
5
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

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

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.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by