Fork me on GitHub
#fulcro
<
2019-11-16
>
alex-eberts00:11:26

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)

alex-eberts00:11:55

command for the backend is

clojure -A:dev -Dtrace -Dguardrails.enabled=true

alex-eberts00:11:45

I’m on Mac running java “1.8.0_212” and clojure 1.10.1

cjmurphy00:11:07

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.

alex-eberts00:11:59

@cjmurphy thanks for the pointer - I’ll give it a shot…

alex-eberts00:11:58

That’s done the trick! thanks for the help

simple_smile 4
alex-eberts00:11:21

I’ve submitted an issue to the fulcro-template repo: https://github.com/fulcrologic/fulcro-template/issues/8

tony.kay00:11:18

A PR would be nicer 🙂

tony.kay00:11:29

I’ll get it though, thx

alex-eberts00:11:08

Hi @tony.kay noted - I’ll send you PRs in the future for obvious bugs

tony.kay03:11:23

it’s ok…quick edits like that can be done by me right in github, so it is fast…np

tony.kay05:11:50

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.