Skip to content

dot-studio-code/ds-clj-hydration-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testing inline hydration using RUM

This demo shows a very basic way of rendering static HTML with some components being re-hydrated on the frontend.

watch the browser js, to start js dev

static built files include this js

npm i
npx shadow-cljs watch browser

start a clojure repl

Currently you can build the pages only from the repl. no commands made yet

clj -M:repl

After connecting the editor, in build.clj, excecute

(spit "./public/index.html" (rum/render-html (app/app "helloooo")))

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published