I downloaded the fulcro template to play around with, but I'm getting an net::ERR_CONNECTION_REFUSED
whenever I start the server. Has anyone encountered this error before?
Can you show the errors?
original error is gone, no error for the persistent one, it just isn't reflecting changes in the dom.
uuugggggghhhhhhhhhhhhhhh surprise, surprise, I'm just an idiot. It works from a root component, but not one I make a factory of. I don't understand why the dom only works from root, but at least I got this crap working again. Now I have to relearn how to appropriately build and pass data between components such that it respects mutations. oh well
What do you mean by mutations here? Fulcro's defmutation? You mean that transact!-Ing a mutation only works inside the root component?!
yes. I'm not sure why unless that's how they're meant to work or I'm just doing something wrong.
ok I finally got it working searching by id. For some reason update
wasn't finding the data in state
in the mutation
so I had to reform the data structure to include an associated id.
taking breaks isn't enough to keep my brain from turning to mush every time I come back lol.
the error points to some code from shadow-cljs so I'll see what they know
RAD (probably still) doesn't support connection strings such as datomic:<dev://localhost:4334/my-example-db>
You will have to have your own version of the Database adaptor that calls back to the real Datomic database adaptor. Have your own config file attributes that your own code interprets. Or that's what I did.
com.fulcrologic.rad.database-adapters.datomic.config->url
is what you are going to need to replace.
redownloading the template fixed the issue but still having problems reflecting mutations in the dom
Ah yes, the release notes confused me a bit but element tab is also working for chrome plugin, should have checked, sorry for the noise!
tempids show up as "UNSUPPORTED VALUE". Index explorer I can click load index and the network tab shows the req/res. But nothing happens.
In Chrome devtools the index explorer does work!