Closed Ethaan closed 7 years ago
It is bad since it'll add a recursive changes since you are using composeWithRedux
. I think this integration between Meteor and Redux is not good.
You need to integrate Meteor and Redux outside of the composers.
@arunoda got it, just testing and playing around.
Thanks!
Is this ok?
Setup
currently im using the
getTrackerLoader
function from the README.and my mapper function looks like this.
im also using
setDefaults
like.and this how the Containers is composed.
My
composeWithRedux
looks like.and my
reduxMapper
looks like.The PROBLEM
Dispatching
store.dispatch(setInitialAuthorsLists(Authors.find().fetch()));
inside thetrackerMapper
is causing theLoading...
screen to never ends.Debug
using React Logger, shows something like this
The Question.
is okay to dispatch actions inside the
reactiveMapper
for the Tracker?