fulcro

Schmoho 2025-03-30T10:31:31.797079Z

So maybe I'm just a bit dense, but I get the feeling there is something broken in the inspect readme: > As of Fulcro version 3.8.0-alpha2, you must use this as a library to use Fulcro Inspect in Chrome or via the 4.x releases of the Electron version. >

:devtools   {:preloads [com.fulcrologic.devtools.chrome-preload]}
Without this preload the console would tell me to do the preload, without requiring the library as a dev-time dependency, the namespace was unknown. So I cannot satisfy this requirement and the following hint at the same time: > Usage for Fulcro 3.x with Chrome > Do not include this library as a dependency. Inspect is written in Fulcro 2.x, and adding it to your dependencies will confuse you by having two different version of Fulcro

tony.kay 2025-03-30T11:12:57.683009Z

You do need to include it now as a dependency. Sorry I'll fix the note. You can put it under an alias to drop it in production code, assuming you don't try to install it at the production entry point

❤️ 1
Schmoho 2025-03-30T12:18:28.607969Z

I am now trying to get workspaces to work (using the https://github.com/awkay/workspaces/blob/f3/examples/workspaces-shadow-example/src/myapp/workspaces/fulcro_demo_cards.cljs - looking good so far, the portal bit and the missing 3 on nubank.workspaces.card-types.fulcro are the only thing I had to change) - but I am a bit uncertain how I install it in my workspaces main ns

Schmoho 2025-03-30T12:31:50.682669Z

Also the https://github.com/awkay/workspaces/blob/3c1b7e6bf64a1ceb7587352a048326dd1312acdc/examples/workspaces-shadow-example/src/myapp/workspaces/fulcro_demo_cards.cljs#L9 fails to mount with {:message "nil passed to get-query", :data {}} - I am working my way through the book right now, so maybe this will become obvious at some point but I don't know how to interpret this right now

tony.kay 2025-03-31T21:29:16.072479Z

I made a fork of workspaces for Fulcro 3. Are you using that fork?

tony.kay 2025-03-31T21:29:44.510949Z

ah, yes, looks like you are