Hi 👋 Do you know of any resources that show how to combine backend- and frontend-rendering in rum, especially with focus on the workflow? I would like to render as much as possible on the serverside and enhance with reactive components in the frontend
The main idea is to define all your components in one .cljc file Then you include the .cljc file as a dependency on both client (cljs) and server (clj) In this way, you only define components once.
And you can use "reader conditionals" to make the .cljc file have relevant code for just js mode or server mode.
Thanks!
I have some ideas on how to make it work, but thought maybe reading some other thoughts on this could be helping