reagent

2025-03-03T18:38:18.081889Z

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

2025-03-04T11:59:14.011129Z

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
Roman Liutikov 2025-03-03T18:41:27.100799Z

Compile and run with Node?

2025-03-03T18:46:00.743209Z

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

Roman Liutikov 2025-03-03T18:48:45.336409Z

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

2025-03-03T19:02:58.169199Z

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

2025-03-03T19:03:05.904809Z

like with hiccup embedded

Roman Liutikov 2025-03-03T19:09:07.450569Z

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

tatut 2025-03-04T06:48:12.007689Z

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