It would be nice if we could bypass minimongo completely and dump the publication data directly into the store. I think your implementation is fine, but I see the duplication of state in minimongo and redux kind of a hassle.

An alternative is to replace the subscription with a method in your implementation. And when your components receiveProps, redispatch. You could make a High Order Component to generalize this pattern across components.

But thats just a thought! Your solution is good too

--

--

--

Software Engineer at Workpop, Inc.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Abhi Aiyer

Abhi Aiyer

Software Engineer at Workpop, Inc.

More from Medium

Love & Shadows

Some Words on Grief

Our Long Defeat — Musings on EDSA Revolution.