Fork me on GitHub
#re-frame
<
2020-07-07
>
pavel.klavik01:07:25

@rnait1977 if AI computation takes longer, you naturally want to move it into a web worker, so that it runs in parallel and does not block rendering. If you are using Shadow-cljs, it is relatively easy to set up your computation in web worker.

rnait197715:07:58

@ Thank you. I'll check this out

steveb8n01:07:12

@lucio FYI I’ve setup this repo to test/iterate on using your lib https://github.com/stevebuik/fork-malli-ideas

lucio06:07:39

Looks nice! I’ll keep an eye on it :) @steveb8n

steveb8n07:07:13

there is one question that came from it. if you have the time to clone/run, you’ll see in in the Bulma devcard. rendering looks funny

lucio10:07:56

Getting

Could not locate shadow/cljs/devtools/cli__init.class, shadow/cljs/devtools/cli.clj or shadow/cljs/devtools/cli.cljc on classpath.
when trying to run

lucio10:07:43

Tried with a different shadow-cljs project and I can run it

andre15:07:56

in re-frame-10x for tracing components rendering static-fns from reagent had been monkeypatched, but in latest reagent alpha releases it was removed https://github.com/reagent-project/reagent/commit/28c9b8921df58f0cca29bf2ac1e1f4b1e8c90bc4 , are there any plans to integrate tracing in reagent ?

mikethompson21:07:55

@andre Thanks for the heads up. We'll have to have a look. I absolutely want to trace reagent renders. In fact, we've been doing recent work on re-frame-debux to ensure we can better trace into view components (ie. into literal vectors) I'm not very clear on the recent Reagent changes.

mikethompson22:07:01

We might need to delay any work on alpha Reagent until it settles down

mikethompson22:07:17

Or maybe ask for a proper API