This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-11-11
Channels
- # asami (19)
- # babashka (41)
- # beginners (115)
- # biff (7)
- # calva (78)
- # clj-kondo (29)
- # cljs-dev (9)
- # clojure (39)
- # clojure-europe (17)
- # clojure-gamedev (29)
- # clojure-nl (1)
- # clojure-norway (9)
- # clojure-spec (2)
- # clojure-uk (3)
- # clojurescript (7)
- # core-async (26)
- # cursive (16)
- # datomic (13)
- # emacs (1)
- # events (5)
- # fulcro (2)
- # funcool (4)
- # gratitude (1)
- # helix (1)
- # holy-lambda (1)
- # humbleui (1)
- # introduce-yourself (4)
- # java (1)
- # jobs (2)
- # jobs-discuss (9)
- # lsp (28)
- # matcher-combinators (2)
- # mathematics (1)
- # membrane (1)
- # nbb (12)
- # off-topic (10)
- # pathom (52)
- # polylith (38)
- # portal (32)
- # re-frame (4)
- # reagent (16)
- # reitit (2)
- # remote-jobs (1)
- # reveal (1)
- # rewrite-clj (10)
- # sci (67)
- # shadow-cljs (45)
- # squint (1)
- # tools-build (13)
- # tools-deps (16)
I did start working on React 18 support on Reagent this week and I wrote a blog post about the work: https://www.metosin.fi/blog/reagent-towards-react-18/ https://github.com/reagent-project/reagent/compare/v1.1.1...master
Perhaps this has already been well discussed, but I'm curious if anyone has explored recreating the minimal DOM diffing engine that powers React and then creating a feature compatible version of Reagent using that engine instead of React. I haven't explored the space at all, but I have the impression that there is significant overlap between the features Reagent provides and what React provides itself. I assume this would remove any compatibility with existing React plugins, which may be a major problem for some folks, but I also suspect it would also simplify the resulting code and hopefully produce a smaller bundle? Just curious if anyone else has explored that space or had any other thoughts on it.
Reagent works when react is swapped out with the much smaller preact library: https://preactjs.com/
I made a reference project a while back that compared the resulting bundle sizes https://git.sr.ht/~dannyfreeman/preact-reagent-demo
Itās not exactly removing duplicate features of the two (react/reagent), but does result in smaller bundles.
Neat, I think this is very close to what I was thinking of. I will have to explore both preact and your project
This might be more on the line of what you originally asked too https://bitbucket.org/sonwh98/mr-clean/src/master/ but as far as I know never made it out of the proof of concept stage. Still a neat project to look at
Thank you, both of those give me something to explore and consider. I kind of assumed there was prior art there, but nice to see several approaches already exist
I've thought about it but it seems hard
Seems like a really useful algo to have in your back pocket tho
@UDVJE9RE3 thanks for the suggestions... and the username lol
Please do not steal it š
Whoa, the project or the username? Dang my friend it sounds like youāve had some bad experiences
Just the username, do what you want with the project lol
I just meant āit gave me enjoyment seeing your usernameā, Iām sorry if I implied IP theft of your username :rolling_on_the_floor_laughing:
No worries lmao. Iām going to have to get it trademarked!