This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-05-05
Channels
- # architecture (3)
- # aws (4)
- # beginners (100)
- # boot (14)
- # cider (59)
- # cljs-dev (1)
- # cljsrn (24)
- # clojure (53)
- # clojure-dev (58)
- # clojure-italy (2)
- # clojure-spec (1)
- # clojure-uk (25)
- # clojurescript (7)
- # cryogen (1)
- # cursive (1)
- # datomic (9)
- # dirac (9)
- # duct (3)
- # off-topic (52)
- # om-next (3)
- # onyx (42)
- # portkey (28)
- # re-frame (3)
- # reagent (11)
- # rum (3)
- # shadow-cljs (12)
- # specter (7)
- # tools-deps (18)
- # vim (1)
- # yada (4)
Does anyone have a working SSR solution with JVM backend? What’s the current state of the art.
I tried with Nashorn (won’t load, complains about Map an ES6 feature), Rhino (NPE while compiling the JS source), J2V8 and clj-chrome-devtools require external native components
Node works, no idea about JVM solutions. Probably doesn't work currently. Best solution could be to implement Reagent-hiccup renderer in Clojure, similar to what Rum does: https://github.com/tonsky/rum/blob/gh-pages/src/rum/server_render.clj, that would require trying to run React in JVM.
Oh right.
Nashorn should have ES6 features in Java 9 or 10, so maybe that would help with running React there
And React 15 might work, I think they started using those features in React 16
Anyone played around with proton-native? Wonder how it fairs with Reagent https://proton-native.js.org/#/?id=proton-native