Abhi Aiyer
1 min readApr 7, 2016

--

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

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Responses (1)

Write a response