figwheel-main

figwheel-main http://figwheel.org
kwladyka 2019-10-24T15:23:36.030100Z

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 ?

kwladyka 2019-10-24T15:24:31.030200Z

kwladyka 2019-10-24T18:32:01.031100Z

I found it and described here https://github.com/reagent-project/reagent/issues/460

ingesol 2019-10-30T08:41:45.034200Z

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.

kwladyka 2019-10-30T08:58:49.035200Z

it simplify things removing about 50% of lines

ingesol 2019-10-30T09:03:00.035500Z

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.