Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

browser-repl example

A working setup for the squint browser REPL: vite dev compiles your ClojureScript, hot-reloads the page, and runs an nREPL server you connect your editor to.

npm install
npm run dev

Then connect your editor to .nrepl-port (or localhost:1339) and eval in the running page.

It shows the same counter rendered three ways: plain squint (#html + manual re-render, src/plain.cljs), preact via :jsx-runtime (#jsx + useState, src/preact.cljs), and reagami hiccup (atom + add-watch, src/reagami_app.cljs).

Full guide: doc/browser-repl.md.