r/Clojure • u/_d_t_w • Jun 02 '25
Factor House | Blog | Beyond Reagent: Migrating to React 19 with HSX and RFX
https://factorhouse.io/blog/articles/beyond-reagent-with-hsx-and-rfx/Introducing two new open sources Clojure UI libraries by Factor House.
HSX and RFX are drop-replacements for Reagent and Re-Frame, allowing us to migrate to React 19 while maintaining a familiar developer experience with Hiccup and similar data-driven event model.
51
Upvotes
6
u/maxw85 Jun 02 '25
Really great that you provide a way to use Hiccup, re-frame and co with React 19.
4
u/zonotope Jun 02 '25
This was a great read. Thanks for writing it! Could you elaborate more on why you decided not to use macros to precompile the hiccup-based components?
2
u/stefan_kurcubic Jun 02 '25
Interesting read.
Quite interesting.
I might give it a try and see how it goes.
2
u/slashkehrin Jun 02 '25
Very cool. Thank you for sharing this!
2
u/poochandy Jun 03 '25
Super interesting. Thanks for sharing. Curious if you evaluated UIx 2, which has a similar goal of staying close to modern react and provides a way to work with re-frame.
1
u/DonTomato Jun 03 '25
This sounds really intriguing and exciting! Will definitely try soon
1
u/CuriousDetective0 Jun 04 '25
So the main motivation was being able to use react 19 under the hood?