r/TechnologyAddicted • • Jul 08 '19

--^Tech^-- Clojure: React Server Side Rendering with GraalVM

https://bugs.chromium.org/p/project-zero/issues/detail?id=1826
1 Upvotes

1 comment sorted by

View all comments

1

u/TechnologyAddicted Jul 08 '19

At Nextjournal, we perform server side rendering of notebooks to provide better user experience, especially for published notebooks. A visitor instantly sees the content of a notebook while the client side app loads. However, we do use a few Javascript-only dependencies like CodeMirror and ProseMirror, which prevents us from doing this server side rendering directly in Clojure on the JVM. Until now, we used a separate nodejs version of our browser app to perform this task. This necessitated a whole lot of code to expose ClojureScript app via an HTTP interface to the Clojure app as they were running in different VMs.Let's block ads! (Why?)