An attempt to get started with interactive browser development
Shell 2.26%HTML 16.66%Clojure 61.59%CSS 19.50%
try_clojurescript's Introduction
synopsis:
i want to develop interactively in the browser
clojurescript seems nice enough
calva in visual studio code has paredit and jump to definition,
might just be able to replace my normal common lisp/slime/emacs
dev environment
i have trouble setting up the dependencies and i have no good
overview over the possible solutions yet, ideally i want to have a
minimal setup with only clj
clojurescript has a lot of tools for that
leiningen, boot are apparently old
clj manages dependencies for clojure and clojurescript, it is
actually used to install clojurescript
clj-new can generate projects from templates
deps-new (author of clj-new suggests to use that)
code
level
comment
01
10%
barebones, only clj and shadow-cljs; don’t know how to pull in figwheel
02
10%
barebones, only clj
03
20%
clj-new
04
5%
deps-new
05
90%
minimal example with clj and figwheel-main
06
0%
copy of 05 with reagent, not working can’t find react.js
07
80%
copy of 06, minimal shadow-cljs first real example
08
90%
copy of 07, add react
09
90%
copy of 08, http-fx
10
copy of 08, state machine
11
12
13
70%
call a java library that can optimize the parameters of a gaussian