Closed
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 like returning 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 component because of this check inReactReconciler
.
Is just having another component providing context enough to trigger this? Is there any way we can work around this?