This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-28
Channels
- # anglican (2)
- # announcements (2)
- # babashka (41)
- # babashka-circleci-builds (1)
- # beginners (45)
- # brompton (2)
- # calva (13)
- # cider (13)
- # clj-kondo (14)
- # cljsrn (6)
- # clojure (60)
- # clojure-europe (4)
- # clojure-nl (3)
- # clojurescript (1)
- # code-reviews (3)
- # conjure (2)
- # cryogen (5)
- # datomic (22)
- # fulcro (13)
- # graalvm (19)
- # introduce-yourself (1)
- # kaocha (2)
- # leiningen (2)
- # lsp (1)
- # malli (4)
- # meander (1)
- # music (1)
- # news-and-articles (2)
- # off-topic (17)
- # polylith (6)
- # practicalli (2)
- # react (15)
- # reactive (1)
- # reagent (8)
- # reitit (2)
- # releases (1)
- # rum (10)
- # shadow-cljs (6)
- # spacemacs (4)
- # sql (2)
- # tools-deps (4)
- # xtdb (21)
OK, here's a first cut: https://github.com/lilactown/react-repl
I should add a warning that says "this relies on internal implementation details of React and is subject to break on any version update. I've tested against React 17.0.2. Subsequent releases may correspond to different versions."
also, in React 18 updates: https://github.com/reactwg/react-18/discussions/86
Presumably the same internals are used by react-dev-tools so they should be sufficiently stable?
but of course react-dev-tools and React can coordinate their releases, since they're both developed by the same team. I on the other hand will only find out if things are broken if I try them out 😄
For react 16 I believe they had to issue a notice saying "oh and btw, we just broke react-dev-tools, here's the legacy version if you want it" or something to that effect?
i have a vague recollection of that but I also just read an article stating that react-dev-tools v4 supports back to React 13
React 16 was the big architectural change to use fibers instead of the old vdom approach
looks like to make reagent concurrency safe we'll need to implement some sort of ref counting: https://twitter.com/lilactown_/status/1431623810638286851