• Packages
  • Themes
  • Documentation
  • Blog
  • Discussions
Sign in

react-redux-tiny-snippets

Short snippets for React Redux
  • #react
  • #redux
  • #react-redux
  • #snippets
  • #autocomplete
kamataryo
0.0.2 101
0
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

React Redux Tiny Snippets for Atom

apm

Tiny Snippets of React Redux for Atom editor.

This package autocompletes below with JSDOC comments.

  • <Providor />
  • connect call
  • mapStateToProps definition
  • mapDispatchToProps definition
  • mergeProps definition

example

// Typing `mapstatetoprops` leads...
 
/**
 * map state to props
 * @param  {object} state    state tree
 * @param  {object} ownProps own props
 * @return {object}          state props
 */
const mapStateToProps = (state, ownProps) => {
  return {
    $1
  }
}

Installation

Run the following command:

$ apm install react-reduz-tiny-snippets

Alternatively go to Atom > Preferences > Packages and search for react-redux-tiny-snippets.

Development

git clone git@github.com:kamataryo/react-redux-tiny-snippets.git
cd react-redux-tiny-snippets
npm install
npm run build

Contribution

Issues and PRs are welcome.

Release Note

0.0.2

  • released

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