K
K
Konstantin Chuykov2016-07-03 23:52:24
React
Konstantin Chuykov, 2016-07-03 23:52:24

How to use Redux in Meteorjs if there are many collections?

Good afternoon.
I'm just starting to use react + redux in meteor, before that I did everything in angular. I read that in redux, - single store, everywhere I see examples with only one collection. How to organize a project structure with routing and multiple collections?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2016-07-04
@maxfarseer

As I understand it, you need to subscribe the collection to a change in the store. Split the store into pieces (a piece for each collection) + use combineReducers. I skimmed through this article (in English)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question