Skip to content

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

Notifications You must be signed in to change notification settings

jaredramirez/vuedux

Repository files navigation

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