Fork me on GitHub
#fulcro
<
2019-08-19
>
bbss06:08:17

The load here doesn't work, it merges the right target, but doesn't refresh the route component. So if I visit the route through a link when the data has loaded is there it works, but the initial change-route doesn't update after the data merges.

bbss06:08:07

Another small note about the router, I need to (when (seq router) (ui-root-router router)) because it will warn that ui-root-router is getting a non existing asm-path, I call change-route directly after mount.

Attempt to get an ASM path [:com.fulcrologic.fulcro.ui-state-machines/local-storage :pending-path-segment] for a state machine that is not in Fulcro state.

tony.kay15:08:12

@wilkerlucio fixed and pushed new version of gcss

👍 4
tony.kay15:08:32

@bbss you on latest beta (3)? It should have fixed errors. As far as the initial load goes: it could be a bug. I’m using the dynamic router in a number of situations, but I don’t think a load on app start is one of the cases I’ve tried myself. It could just be a UI refresh issues…it sounds like the data is arriving correctly, you say? If you could open an issue that’s great. A repro case is even better, but not necessary if the description is good.