Fork me on GitHub
Braden Shepherdson18:05:23

apologies for the cheeky-seeming question, but I'm curious: how married to React is re-frame? would another view = f(state) library (say, be pluggable with some work?


It's a long marriage with significant commitment. Likely, a "happily ever after" kind of story. :)


> pluggable with some work re-frame code base is small, very small. The vast majority of it are docstrings, simple helper functions coming a close second. With some work, it's possible to just completely rewrite it, assuming the underlying library supports some sort of reactions, because that's how the whole concept of subscriptions works.


yeah, like p-himik is saying: the events and effects stuff works w/o reagent/react, but the app-db and subscription mechanism would need to be replaced


I have an abandoned hobby project wherein I made a fork of re-frame that ripped out all the dependencies on reagent: