Hacker News new | past | comments | ask | show | jobs | submit login

No. React-Redux only uses Context to pass down _the Redux store instance_, not _the current state value_. The store instance doesn't change, so that use of context will never cause later re-renders.

Instead, components directly call `store.subscribe()`, and check to see if they need to update after each dispatched action.

See my post "A (Mostly) Complete Guide to React Rendering Behavior" for more details:

- https://blog.isquaredsoftware.com/2020/05/blogged-answers-a-...




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: