vuedux
Vuedux
Familiar Redux bindings for Vue.js, inspired by React-Redux.
Installation
With yarn
yarn add vuedux
or if you prefer NPM:
npm i --save vuedux
Examples
API
What about Revue?
Revue is another package that also provides Redux bindings. It connects Redux and Vue is by creating a modified Redux store
and uses Mixins* in it's implementation. This isn't an approach I wasn't wild about. Redux should to be independent of Vue and favor component composition over mixins. So, Vuedux was created to fill those requierments.
*Mixins are Dead. Long Live Component Composition
License
BREAKING CHANGES:
- v0.0.10
- Flipped order of
connect
arguments,mapStateToProps
is now first followed bymapDispatchToProps
- Flipped order of
Dependencies
avoriaz: ^3.4.0babel-core: ^6.22.1babel-eslint: ^7.1.1babel-helper-vue-jsx-merge-props: ^2.0.2babel-loader: ^6.2.10babel-plugin-syntax-jsx: ^6.18.0babel-plugin-transform-flow-strip-types: ^6.22.0babel-plugin-transform-object-rest-spread: ^6.22.0babel-plugin-transform-vue-jsx: ^3.3.0babel-preset-es2015: ^6.22.0eslint: ^3.7.1eslint-config-airbnb-base: ^8.0.0eslint-plugin-import: ^1.16.0eslint-plugin-react: ^6.9.0flow-bin: ^0.38.0jest: ^20.0.4jest-vue-preprocessor: ^1.1.0redux: ^3.7.2sinon: ^3.2.1vue: 2.5.13vue-template-compiler: 2.5.13vue-template-es2015-compiler: ^1.5.3webpack: ^2.2.0-rc