This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-06-14
Channels
- # biff (2)
- # calva (1)
- # clj-kondo (1)
- # clj-otel (34)
- # clojure (49)
- # clojure-europe (44)
- # clojure-nl (2)
- # clojure-norway (21)
- # clojure-sweden (11)
- # clojure-uk (6)
- # clojurescript (7)
- # data-science (3)
- # datahike (34)
- # emacs (17)
- # fulcro (1)
- # gratitude (5)
- # honeysql (1)
- # jobs (11)
- # leiningen (42)
- # lsp (5)
- # nextjournal (3)
- # observability (1)
- # practicalli (2)
- # shadow-cljs (153)
- # solo-full-stack (5)
- # squint (7)
- # xtdb (16)
What would be the alternative of Next.js on the Clojure world? Especially interested in server side rendering (SSR) and static site generation (SSG) in the build time. Does Fulcro have important Next.js features? It is exciting moment for me because I get to choose the tech stack for the new project 😊
Fulcro does have SSR support: https://book.fulcrologic.com/#_server_side_rendering
Thank you! Is there a common tool for the static site generation (SSG) in Clojure/CLJS?
There are a few, you should be able to find them. Can also use https://phronmophobic.github.io/dewey/search.html and #C06MAR553 to search.
thank you!
Clojure is great for SSR. Now adays you can create websites that are hard to tell that they are SSR vs client side rendered (ie equally fast and engaging). You can use hiccup (+ related libraries). If you need to add some dynamic features down the line you can just add HTMX and/or _HyperScript (compatible with hiccup - just one line to install).
If you're interested in cljs on the backend (running under Node) it's relatively easy to use Reagent to SSR.