After updating 10.0.0 child components can't observe store passed by context when mobx.toJs used in their parent.
explanation of example:
error reproduction (cache cleaning may be required):
rc1: https://nuzsk.github.io/preact-x-consumer-bug/10.0.0-rc.1/dist/index.html
rel: https://nuzsk.github.io/preact-x-consumer-bug/10.0.0/dist/index.html
source:
https://github.com/Nuzsk/preact-x-consumer-bug
note: removing toJs allows the child component to update
Awesome, thanks a bunch for the repro cases and the source :+1: With it I was able to narrow down what's causing it and got a fix nearly ready :tada:
EDIT: Alright, that was easier than expected. The fix is ready :100:
Most helpful comment
Awesome, thanks a bunch for the repro cases and the source :+1: With it I was able to narrow down what's causing it and got a fix nearly ready :tada:
EDIT: Alright, that was easier than expected. The fix is ready :100: