re-frame

Stef Coetzee 2023-08-17T08:50:55.876039Z

How would you go about app architecture for something like https://www.airbnb.co.za in Clojure/Script? For initial page load and SEO of listings, one would want server-side rendering, but for client-side UX one would like to be able to use re-frame. Per links from the https://github.com/Day8/re-frame/blob/master/docs/External-Resources.md#server-side-rendering, there has been https://www.davidtanzer.net/david's%20blog/2015/08/13/server-side-and-client-side-rendering-using-the-same-code-with-re-frame.html https://techascent.com/blog/isomorphic-rendering.html done in this area. Yet to fully explore it myself, but thought to ask about it pre-rabbit hole.

hifumi123 2023-08-18T05:36:22.210939Z

follow similar strategies as you would in redux

hifumi123 2023-08-18T05:36:48.856379Z

rendering hiccup will be hard, but if youre willing to use #helix and #refx, then its possible, and theres an example out there demonstrating it

Stef Coetzee 2023-08-18T06:27:38.529009Z

Thanks for the advice! Not familiar with Redux yet, will definitely take a look. Do you recall where the example server-side rendering Helix and refx implementation can be found?