This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-04-18
Channels
- # ai (2)
- # announcements (11)
- # beginners (34)
- # biff (14)
- # clerk (14)
- # clj-kondo (25)
- # clojure (27)
- # clojure-austin (1)
- # clojure-conj (6)
- # clojure-denmark (1)
- # clojure-europe (20)
- # clojure-hamburg (1)
- # clojure-nl (1)
- # clojure-norway (28)
- # clojure-uk (2)
- # clojuredesign-podcast (6)
- # clojurescript (43)
- # cursive (4)
- # data-science (2)
- # emacs (9)
- # hyperfiddle (9)
- # introduce-yourself (2)
- # jobs (3)
- # lsp (32)
- # missionary (31)
- # nbb (8)
- # off-topic (23)
- # rdf (23)
- # re-frame (10)
- # reitit (11)
- # releases (3)
- # rewrite-clj (4)
- # shadow-cljs (7)
- # specter (6)
- # sql (7)
- # xtdb (7)
Seems like Three.js should work with electric, by issuing point mutations to the scene graph with Electric and then having the entrypoint call renderer.render (with a forced causal dependency on animation time). Scene graph construction can be refactored into the declarative style using the same approach as electric-dom, by using macros to maintain a focal point for writes in dynamic scope. A few hours work at intermediate understanding, use electric-dom as a reference (it's very simple)
any tricks to speed up compilation? have 4 sec+ recompile/reload cycles on a maxed out 2023 macbook pro
but sometimes that’s not so easy like when I have components deeply nested in UI context
Yeah, sorry, no other tricks up my sleeves right now. We're working towards fixing compilation times but there are other tickets we need solving first
If the recompiles are related to style changes, using an external CSS toolchain can reload css without triggering an Electric rebuild