Fork me on GitHub
#fulcro
<
2019-09-25
>
tony.kay00:09:49

So, I just found a significant bug in dynamic routing

tony.kay00:09:19

it uses dynamic queries to change the route, and the logic was not updating the global component indexes, meaning that the new route wasn’t being indexed for UI refresh.

tony.kay00:09:09

this would have exhibited itself as failures to update things that were requested for refresh via follow-on reads or the :refresh feature of mutations/transactions…leading to parents having “stale” data.

tony.kay00:09:24

will be fixed in RC2…which I’ll release shortly.

tony.kay00:09:47

actually affects incubator as well, if you’re using that.

tony.kay00:09:24

workaround is to “over render” (by refreshing a key above the router) or use keyframe rendering

tony.kay00:09:44

Released RC2

🎆 28
tony.kay22:09:17

RC3-SNAPSHOT is on clojars with some additional tweaks that affect dynamic routing and SSR. Needs a bit more testing before actual release, but for those wanting to try the cutting edge.