/vuedux

Familiar Redux bindings for Vue.js, inspired by React-Redux.

Primary LanguageJavaScript

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

MIT

BREAKING CHANGES:

  • v0.0.10
    • Flipped order of connect arguments, mapStateToProps is now first followed by mapDispatchToProps