Hmm SPA works during developing, but not after compile to production.
code: https://github.com/kwladyka/form-validator-cljs/tree/doc
output: https://github.com/kwladyka/form-validator-cljs/tree/gh-pages
website: https://kwladyka.github.io/form-validator-cljs/
how I build prodcution: https://github.com/kwladyka/form-validator-cljs/blob/cicd/Dockerfile-build-doc
Why it works during developing, but not after clojure -A:fig:min
?
I found it and described here https://github.com/reagent-project/reagent/issues/460
@ingesol https://github.com/kwladyka/form-validator-cljs/blob/doc/src/js/index.js + https://github.com/kwladyka/form-validator-cljs/blob/doc/figwheel-main.edn and you can share your node dependencies
Thanks! I wanted to see if there was a different route to take here, that did not require generating foreign-libs, but it seems this is the way to go.
it simplify things removing about 50% of lines
Yes it’s really excellent, I already implemented it. The reason I wanted to avoid it was that it didn’t work without me figuring out some edge cases, and I didn’t have much time for this. In the end it’s obviously the better option.