Fork me on GitHub
#re-frame
<
2023-08-17
>
Stef Coetzee08:08:55

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.

hifumi12305:08:22

follow similar strategies as you would in redux

hifumi12305:08:48

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

Stef Coetzee06:08:38

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?