This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-06-06
Channels
- # announcements (1)
- # atom-editor (2)
- # babashka (6)
- # beginners (30)
- # calva (12)
- # chlorine-clover (2)
- # clojure (88)
- # clojure-australia (2)
- # clojure-europe (9)
- # clojure-germany (4)
- # conjure (3)
- # cursive (12)
- # datomic (4)
- # lsp (86)
- # off-topic (48)
- # play-clj (8)
- # polylith (6)
- # reagent (11)
- # reitit (8)
- # shadow-cljs (19)
- # specter (6)
- # sql (13)
- # xtdb (25)
what would be the equivalent of next/gatsby (server-side rendering/static site generation) for reagent?
There isn’t a huge community for SSR w/ Reagent. I don’t know of any well-supported projects
You can of course compile your CLJS code that uses reagent and run it on Node.js, but most people do not
Rum and Fulcro both support JVM SSR, which is more the way Clojure people prefer to go.
But they don’t have the level of framework (handling routing, complex hydration, blog features, etc.) that Next and Gatsby do.
I don’t get the impression that many users of reagent care a ton about SEO. Most of the pages I’ve seen use CLJS and reagent are single page apps
At my previous job, we server side rendered our site using reagent, CLJS and Node.js. But it was a non-trivial amount of engineering
We did care about SEO and loading fast on smaller devices, so it made the tradeoff worth it