diff --git a/shadow-cljs.edn b/shadow-cljs.edn index 925f268..fa39edb 100644 --- a/shadow-cljs.edn +++ b/shadow-cljs.edn @@ -26,4 +26,11 @@ :depends-on #{:scittle}}} :build-hooks [(shadow.cljs.build-report/hook)] :output-dir "resources/public/js" - :devtools {:repl-pprint true}}}} + :devtools {:repl-pprint true} + :compiler-options {:optimizations :simple}}}} + +;; simple optimization because sablono.interpreter line 22 +;; cljs: (.setState component next-state) +;; simple: a.setState(f) +;; advanced: a.Ci(f) +;; and this Ci throws a "not defined" error