React DevTools for ClojureScript wrappers
⚠️ EXPERIMENTAL
Untitled.mp4
- React components & DOM nodes tree
- Visual picking and highlighting
- Props, hooks, Reagent reactions and re-frame subscriptions inspector
- Update reactions and subscriptions from the inspector
- Click on a value in the inspector to log it to the console
- Press a shortcut to toggle DevTools visibility
- Bottom, left, right docking and undocking into a separate window
- UIx
- Reagent
- Install the library via Git deps
{:deps {com.github.roman01la/cljs-react-devtools {:mvn/version "0.2.0"}}}
- Create preload namespace and initialize DevTools
(cljs-react-devtools.core/init!
{:root (js/document.getElementById "root") ;; React root
:shortcut "Control-Shift-Meta-R"}) ;; toggles DevTools visibility
- Install NPM deps
- Run
clojure -A:examples -M -m shadow.cljs.devtools.cli watch examples
- Open
http://localhost:3000/
Support development of the project via GitHub Sponsors program