Closed
Description
I've got an issue where it seems like if I reactor.loadState
inside a component, that component will no-longer receive updates for (some of?) it's bindings but child components still do.
Here is a JSFiddle replicating the issue.
https://jsfiddle.net/o8mths43/2/
Notes:
setTimeout
at the top simulating an action to update the store.- It works fine if
loadState
isn't called before hand. - you can see the parent/child binding change in the rendered page.
- It works fine if
prop1
binding is only updated in the child component after the loadStateprop2
is based onprop1
and is unable to get updated even when changing the value ofprop1
after theloadState
I hope this is just me using loadState incorrectly. Have you come across this?
It's 6am and I'm not sure I'm making a lot of sense. Take a look and see if you can reason out what I'm getting at. Happy to answer more questions and explain if needed.