I haven't used a lot of js (just sprinkled here and there) and i've never used a full fledged js framework in production, but from my somewhat exhaustive (albeit high level) investigations over the years, what i _think_ i want, is sapper/sveltekit (SSR) but in all nim, where the backend, routing etc is in nim compiled to c, and the bare minimum required for the front end features, is nim compiled to js. It would be nice if the compiled js was small too. I saw some indication that nim compiled to js might result in code obesity, but i don't remember what examples i was looking at or anything, so i don't know if that is even true or not.
I will probably want to use plain html or maybe nim's source code filter (i like that and use that on my current site built with nim/prologue) for html, as i'm usually too picky/paranoid for html generation features like in karax. I haven't tried to use karax already, because i'm not really interested in building SPA's due to SEO, performance concerns, etc. and the svelte propaganda tarnished vdom a little for me. :) Karax2/Napper/Nimkit :) would have to be well documented (for js/js framework beginners) for me to be able to justify diverting my time to learn something new. I know this is not really what was asked, but i've been wanting to ask for this for a while so that's what you get. :) However y'all go forward i wish you the best.