biff

Richard Bowen 2025-05-14T12:48:45.561839Z

Hey, what's the SSR story when using ClojureScript and reframe with Biff. I'm considering building a website with it which will leverage SEO heavily for the product pages as well as articles posts. Think Wirecutter.

2025-05-14T15:51:22.868589Z

the biff reframe guide doesn't do anything SSR related. if it works to have the product and article pages completely SSR, you could do those the "normal" biff way and then only use reframe for application pages that don't need SEO. If you want to have SSR pages that get hydrated/controlled by reframe, biff doesn't have anything out of the box for that, and I've never set that kind of thing up myself so can't give many pointers. however if you find out how to do it with reframe in general, I imagine it'd be straightforward to use the same steps in a biff app.

Richard Bowen 2025-05-14T17:14:13.669279Z

I'd mainly use reframe because of my familiarity with it and React but I think HTMX plus some minimal JavaScript tool and leveraging performance web standards like prefetch would be the best bet for this. HTMX is SSR by default right. Thanks.

👌 1