DEV Community

Discussion on: The not so secret life of Provider in Redux

Collapse
 
markerikson profile image
Mark Erikson • Edited

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 .

Thread Thread
 
sadick profile image
Sadick

Thanks I now see your point.