Skip to content

Context Consumer not getting updated store values in react/mobx-react-lite #3456

Answered by urugator
or-israeli asked this question in Q&A
Discussion options

You must be logged in to vote

Please see https://mobx.js.org/react-integration.html#callback-components-might-require-observer

Feel free to add <MyContext.Consumer> usage as another example to docs.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@or-israeli
Comment options

Answer selected by or-israeli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #3455 on July 07, 2022 16:10.