Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions 2022/03-cljs-storybook/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Trying out an approach of gluing pure-JS React components together with a
ClojureScript state and orchestration layer.

https://www.youtube.com/watch?v=3HxVMGaiZbc
https://clojurians.slack.com/archives/C03S1L9DN/p1644252428096999
https://clojurescript.org/guides/webpack
3 changes: 3 additions & 0 deletions 2022/03-cljs-storybook/reframe/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.clj-kondo
.lsp
node_modules
2 changes: 2 additions & 0 deletions 2022/03-cljs-storybook/reframe/bin/build
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
rm -rf out
clj -M -m cljs.main -co build.edn -O advanced -v -c
1 change: 1 addition & 0 deletions 2022/03-cljs-storybook/reframe/bin/repl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
clj -M -m cljs.main -co build.edn -v -c -r
7 changes: 7 additions & 0 deletions 2022/03-cljs-storybook/reframe/build.edn
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{:main app.core
:output-to "out/index.js"
:output-dir "out"
:target :bundle
:bundle-cmd {:none ["npx" "webpack" "./out/index.js" "-o" "out" "--mode=development"]
:default ["npx" "webpack" "./out/index.js" "-o" "out"]}
:closure-defines {cljs.core/*global* "window"}} ;; needed for advanced
3 changes: 3 additions & 0 deletions 2022/03-cljs-storybook/reframe/deps.edn
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{:paths ["src"]
:deps {org.clojure/clojurescript {:mvn/version "1.11.4"}
reagent/reagent {:mvn/version "1.1.0"}}}
Loading