Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3.3k
Closed
Labels
Description
Related to#99 and the follow-up issues and pull requests.
I’d like to understand better in which cases we have the behavior described in#365 (comment):
I dug into why this happens, and it seems likereturning a cached element in
render()is not enough to prevent a re-render in some cases when there is an additional context between<Provider>and theconnect()ed componentbecause of this check inReactReconciler.
Is just having another component providing context enough to trigger this? Is there any way we can work around this?