Fork me on GitHub
#re-frame
<
2022-09-01
>
Ferdinand Beyer18:09:00

Hi there, I've recently experimented with alternatives to Reagent such as Helix and UIx, who claim to be faster / more modern / lighteight. I explored what would be required to use re-frame without Reagent. It looks pretty doable, and I got a prototype running. I'm wondering if anyone is aware of similar efforts, and if there is interest in decoupling re-frame from reagent? E.g. if I should aim for a fork/port or a PR?

dvingo18:09:49

I have a fork of only the subscriptions portion of re-frame supporting any data source and any UI layer here: https://github.com/matterandvoid-space/subscriptions I intentionally don't want to use events as I prefer the mutation system of fulcro+pathom.

mikethompson04:09:19

I have no plans to modify re-frame to work with other libraries. I'm quite happy to see re-frame forked for use with other libraries as they see fit. There's already https://github.com/clj-commons/citrus which works with Rum.

Ferdinand Beyer07:09:38

Good to know, thanks! I started working on a fork which I call “refx”, which replaces the subscription part with a custom signal graph, thus eliminating the Reagent dependency. I provide a hook use-sub to be used with “modern” React. I have working examples of re-frame’s todomvc with Helix and UIx. https://github.com/ferdinand-beyer/refx

🎉 1