Yeah, that was my point - there's a big difference between passing ...store as props, and passing ...mapState(store.getState()) as props :)
Although, now that I re-read that last example carefully, you've got: this.store = context.store.getState(), which is kinda mis-named in a different way than I thought.
Yeah, that was my point - there's a big difference between passing
...store
as props, and passing...mapState(store.getState())
as props :)Although, now that I re-read that last example carefully, you've got:
this.store = context.store.getState()
, which is kinda mis-named in a different way than I thought.Anyway, if you enjoyed that look inside, you might be interested in reading some of these other articles explaining how Redux and React-Redux work .
Thanks I now see your point.