This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-02
Channels
- # announcements (26)
- # architecture (29)
- # babashka (8)
- # beginners (91)
- # calva (70)
- # cider (7)
- # circleci (2)
- # cljs-dev (1)
- # clojure (79)
- # clojure-australia (2)
- # clojure-dev (3)
- # clojure-europe (40)
- # clojure-italy (2)
- # clojure-losangeles (4)
- # clojure-nl (4)
- # clojure-uk (4)
- # clojurescript (34)
- # cursive (13)
- # datomic (16)
- # defnpodcast (2)
- # emacs (11)
- # events (1)
- # fulcro (13)
- # graalvm (17)
- # gratitude (3)
- # instaparse (10)
- # introduce-yourself (2)
- # jobs (1)
- # jobs-discuss (5)
- # juxt (3)
- # kaocha (5)
- # meander (5)
- # membrane (2)
- # nextjournal (43)
- # off-topic (42)
- # pathom (52)
- # pedestal (8)
- # portal (3)
- # rdf (2)
- # re-frame (10)
- # reveal (21)
- # shadow-cljs (56)
- # slack-help (7)
- # vim (33)
- # xtdb (43)
this can't be the right way but it's working (canvas): (defn trigger-redraw [] (.dispatchEvent (get-canvas) (js/MouseEvent. "mousemove")))
@zimablue. Just released a new version that adds repaint support to webgl, com.phronemophobic/membrane {:mvn/version "0.9.31.7-beta"}
Usage:
(defonce canvas-info (webgl/run
(membrane.component/make-app #'todo/todo-app todo/todo-state)
{:container canvas}))
(def repaint (:membrane.webgl/repaint canvas-info))
(swap! todo/todo-state
update :todos
conj {:complete? true
:description "third"})
(repaint)