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
david_clojurian 2021-04-03T18:43:38.115800Z

Hey guys, re-frame is a clojurescript framework. Lots of source files are cljc files. Does this mean that re-frame works on the JVM as well?

rgm 2021-04-05T23:53:25.121Z

Not necessarily related to the cljc, but I was surprised to discover it works great in a webworker. You can’t touch the DOM, but it’s still a disciplined way to organize state mutation. Can’t recall if I tried any subs.

p-himik 2021-04-03T18:45:18.115900Z

https://day8.github.io/re-frame/FAQs/Why-CLJC/

p-himik 2021-04-03T18:46:13.116200Z

Not sure if there's a persistent article on the topic, but IIRC it's been told that using re-frame on the backend doesn't really make sense because the sub graph won't work the same way.

david_clojurian 2021-04-03T18:52:06.116400Z

I'm just looking for an elegant way to keep track of changes in the application state and like to infer new facts via ClaraRules and propagate these new fact back to the application state. That's why I remembered re-frame. Re-Frame is awesome to manage state and event producing and consuming, but sounds like it isn't an option here, right?

p-himik 2021-04-03T18:55:04.116600Z

It is an option, and you should be able to use it. It just won't bring that much value - you effectively won't be using a whole third of it, the subscriptions.

david_clojurian 2021-04-03T20:07:45.116900Z

Ok. Thanks. I will try it.