Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kamataryo/react-redux-tiny-snippets
https://github.com/kamataryo/react-redux-tiny-snippets
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kamataryo/react-redux-tiny-snippets
- Owner: kamataryo
- License: mit
- Created: 2017-11-12T07:25:26.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-26T07:56:56.000Z (about 7 years ago)
- Last Synced: 2024-11-18T02:12:23.334Z (2 months ago)
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# React Redux Tiny Snippets for Atom
[![apm](https://img.shields.io/apm/v/react-redux-tiny-snippets.svg)](https://atom.io/packages/react-redux-tiny-snippets)
Tiny Snippets of React Redux for [Atom](https://atom.io/) editor.
This package autocompletes below with JSDOC comments.
- ``
- `connect` call
- `mapStateToProps` definition
- `mapDispatchToProps` definition
- `mergeProps` definition#### example
```javascript
// 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:
```shell
$ apm install react-reduz-tiny-snippets
```Alternatively go to `Atom > Preferences > Packages` and search for `react-redux-tiny-snippets`.
## Development
```shell
git clone [email protected]: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