You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*ratom-context* alone is not enough to get derefs registered, the function body also has to be evaluated during deref-capture of main component. I'm not sure if this is possible.
One solution could be to provide some utilities (and documentation) to guide users to use e.g. second workaround.
See my notes over on react-context. Basically:
If
state
changes (via e.g.swap!
orreset!
), the component inside of the function passed intoother-component
will not re-render reactively.The text was updated successfully, but these errors were encountered: