Integrating meteor with redux?

Has anyone done this? I’ve found it pretty easy to use createContainer, but not found any great way to integrate with redux without huge amounts of repetition.

I took a stab at Redux and Meteor accounts. It uses Apollo to provide the user data but that is separate to the Auth system and not really required.

https://github.com/atapp/apollo-redux-meteor-userdemo

Have a look at the user actions and how that controls the state of the router and ui, might help you see some options. DISCLAMER: I am not a expert and this may not be best practice.

Purely from my perspective I love the Redux flow of actions controlling the App, makes thinking about state clearer to me.

1 Like