I'm trying to get the new statecharts routing to work based on the demo repo and latest releases. I'm getting a bunch of Error: Invalid join, {:ui/current-route nil} now. that key doesn't seem to appear anywhere in particular in the demo or my app; I assume it's part of the routing library. I'm not sure what I've done wrong in setting it up.
does there need to be a "starting" state? in the https://github.com/fulcrologic/fulcro-with-statecharts/blob/main/src/main/com/example/client.cljs#L110 I'm following, there's that linked line, and I'm not sure how the nesting and istate work. I'm betting that something about the top-level or nested statechart is implicitly defining the start state, but I'm not sure what exactly I'm missing.
Yeah, I need to write some docs. The new routing system actually modifies the query of your component. You need to make sure that the states that represent routes actually point to the target, and that there is a parent route and that declares which thing is the root. That is how it figures out which query to change.
I'm trying to run the latest fulcro inspect tool with a RN expo app. I have the electron app running and confirmed it works by running the fulcro-with-statecharts app.
I have the shadow-cljs preload set to use com.fulcrologic.devtools.electron-preload in my RN app. However, it produces the following error:
(NOBRIDGE) ERROR Invariant Violation: "main" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called.
Is there something special/extra required to be able to connect to the inspect tool?