Is there the info about which version of Fulcro works with which version of Insepct somewhere? Thank you!
The releases section of the repo
Fulcro 3.4+ new inspect, otherwise older one
hello, I'm trying to play with Fulcro RAD demo repo, but having trouble to start the client, the server seems to work fine, but on the client its not, the first thing I noticed is that index.html
points to a js file js/example/main.js
, but that file doens't exist, the path for the cljs compilation is js/main/main.js
. I changed that, also noticed the call for <script>com.example.client.start();</script>
, which I can't find either, so I just removed it (also checking on shadow cljs it already points to a different init fn). after that I'm getting some other strange errors on the console.
@wilkerlucio hey there
I was not aware of it being broken in any way…let me look
you on develop branch?
actually they are same 🙂
using right port?
should not be using the index.html file at all I think
ah, prob wrong branch
just cloned, came on master
trying develop now
and do NOT add index.html to it
I need to fix the middleware on that, and remove that file
that serves a stale old file if you say index.html
makes sense, yeah, I was starting from the shadow http port
Also, in general, I recommend the Datomic db adapter if you use one…it is way better tested. The SQL one works, but it has a number of little annoyances and limitations right now
cool, thanks, its working now
yeah, using datomic
great
I’ll make it a bit more foolproof…
I have a suggestion, keep the index.html, but leave a link there like: <a href="localhost:3000">This is the wrong HTML file, click here to go to <http://localhost:3000></a>
so if the fool is like me, it will see after trying to start from shadow, hehe
I think removing it worked ok…the correct port will tolerate it because of mw, and the shadow only opens a test port, which shows tests.
How do you deal with components that have the same representation but are different entity types in the DB? Just define two components and factor out the body to a function?
Thanks!
Are you suggesting Wilker is a fool? :troll: (Excuse my bad jokes.)
I think he’s the one that suggested that, but he and I are good friends 😜…so it would not be surprising for us to tease each other a bit
I guess that is what I would do though I have not encountered this problem yet.
Thank you. Seems obvious but I always wonder if it's the idiomatic way of doing things.