Understood. Now I have clear that don’t need to mess around with handlers.
Yes, I’ll look into that.
Last question, and I’m closing the topic now. Is there any way to increase the logging level of what’s happening with shadow other than --verbose and debug?
Thanks for all the help and the invaluable work on this. Have a nice day!
I finally got it working. I had to disable all the code until I had the bare minimum to load a sample index.html, and even with that I couldn’t load anything.
I copied the whole list of shadow-cljs dependencies from clojars, and it turned out that some dependencies where missing… So as soon as I downloaded the dependencies I could load the file from the development web server.
After that, it was just a matter of enabling the previous code, leave the “after-load” in the initial rendering function and everything worked using the ring server.