reagent 2025-03-03

is there any consolidated solution for SSR on cljs with reagent?

You can check the SSR branch of my example app using clj wrapper around inertia.js. https://github.com/prestancedesign/pingcrm-clojure/tree/ssr

🤔 1

Compile and run with Node?

exchange hiccup components between a clojure server would be ideal, or it can be w node too

ssr usually means rendering to string on server and sending that to the client

yup, is there any way that I can send a "click to a component", and my server returns it to the front?

like with hiccup embedded

Sounds like React Server Components (they doesn’t work in cljs) or Electric Clojure

my Ripley library is full SSR where you can just have onclick handlers that run on the server… but it doesn’t really work with reagent