This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-16
Channels
- # aleph (1)
- # announcements (3)
- # babashka (24)
- # beginners (333)
- # clj-kondo (36)
- # cljs-dev (11)
- # clojure (75)
- # clojure-italy (3)
- # clojure-uk (15)
- # clojurescript (31)
- # core-logic (18)
- # cursive (2)
- # data-science (3)
- # datomic (1)
- # events (1)
- # fulcro (13)
- # graalvm (2)
- # jobs (1)
- # kaocha (2)
- # malli (1)
- # overtone (6)
- # re-frame (7)
- # reagent (17)
- # rewrite-clj (3)
- # shadow-cljs (10)
- # sql (9)
- # vim (1)
Hi All, Anyone else running into an error starting the backend process from the fulcro-template at https://github.com/fulcrologic/fulcro-template ? I’m getting
Execution error (FileNotFoundException) at java.io.FileInputStream/open0 (FileInputStream.java:-2).
-Dtrace (No such file or directory)
command for the backend is
clojure -A:dev -Dtrace -Dguardrails.enabled=true
I’m on Mac running java “1.8.0_212” and clojure 1.10.1
Maybe try -J-Dtrace -J-Dguardrails.enabled=true
. I'm not familiar with the template, but I've seen this confusion being reported here before.
@cjmurphy thanks for the pointer - I’ll give it a shot…
I’ve submitted an issue to the fulcro-template repo: https://github.com/fulcrologic/fulcro-template/issues/8
Hi @tony.kay noted - I’ll send you PRs in the future for obvious bugs
So, I can generally confirm that keyframe render is definitely faster that ident-optimized render in certain cases…basically in any app where dependent data requires a lot of individual component refreshes. The shouldComponentUpdate checks are much faster than targeting props at components by ident. Ident-optimized render is only faster if your app generally updates only 1-3 components in a transaction.