re-frame

https://github.com/Day8/re-frame/blob/master/docs/README.md https://github.com/Day8/re-frame/blob/master/docs/External-Resources.md
2021-05-13T18:29:23.458100Z

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

p-himik 2021-05-13T18:31:58.458700Z

It's a long marriage with significant commitment. Likely, a "happily ever after" kind of story. :) https://github.com/day8/re-frame/issues/590

p-himik 2021-05-13T18:34:27.459Z

> 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.

lilactown 2021-05-13T19:39:09.459200Z

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

lilactown 2021-05-13T19:40:42.459400Z

I have an abandoned hobby project wherein I made a fork of re-frame that ripped out all the dependencies on reagent: https://github.com/lilactown/punk/tree/master/frame

lilactown 2021-05-13T19:41:13.459600Z

differences here: https://github.com/lilactown/punk/blob/master/frame/src/frame/DIFFERENCES.md