-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The code works in clojure without the reactive part. It would be interesting to also have subscriptions work in clojure.
example use-case: listening to a transaction log for a db -> run through subscription chain on the server -> websocket -> subscription chain on the client.
For implementation, I think https://github.com/leonoel/missionary could work. The idea is to make
| (defn run-in-reaction [f obj key run opts] (f)) |
run-in-reaction and make-reaction work on clojure.
I suppose you could also just try a faithful port of the reagent.ratom namespace (and support namespaces) into clojure but figured missionary would be the simpler route of those options.
Another interesting/crazy idea is to use missionary on the client as well instead of reagent but maintain the use-sub user-level API - just swapping implementations.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels