javelin
Spreadsheet-like dataflow programming in ClojureScript. (by hoplon)
subscriptions
A subscriptions library over a source of data (forked + extracted from re-frame) (by matterandvoid-space)
Our great sponsors
javelin | subscriptions | |
---|---|---|
4 | 4 | |
799 | 50 | |
0.5% | - | |
6.3 | 6.4 | |
6 months ago | 5 months ago | |
Clojure | Clojure | |
- | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
javelin
Posts with mentions or reviews of javelin.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-20.
-
Is there a reframe/cljfx-like subscription/memoization-context library available?
An aspect that flex has that is important when using it with UI frameworks is the ability to control when to start listening to something and when something updates. This is why it differentiates between "signals," which are pure calculations that are inert unless actively being listened to, and "effects" which do side effects and can be started/stopped. In React and other GUI frameworks, you need to be able to abide by the lifecycle of the framework, which means you may need to wait to start running updates until the component your effect is used in has actually appeared in the UI. This is provided by effect and listen returning a function that, when called, starts listening and calling the return value of that stops. Javelin does not give you quite this much control; defc= is eager and will start listening and updating immediately. See https://github.com/hoplon/javelin/issues/27 for their discussion about this very topic.
-
Functional Core, Imperative Shell (2012)
I asked around and there is another option. Something called "Incremental Computations". Here is a Clojure library. I think the examples kinda demo how it works
https://github.com/hoplon/javelin
subscriptions
Posts with mentions or reviews of subscriptions.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-20.
-
Is there a reframe/cljfx-like subscription/memoization-context library available?
The subscriptions library is designed to delegate to reagent and has a clojure implementation here which is not reactive right now. It should be straightforward to substitute in the posh implementation in that namespace and achieve parity with cljs. There are already working test cases in clojure for computing derived values here. If you want to take a shot at that I would welcome a PR :D
-
[ANN] Subscriptions, cljs+clj new release 2022.10.29
I have been iterating on new features of my subscriptions library (originally extracted from re-frame) https://github.com/matterandvoid-space/subscriptions and have some major additions:
- subscriptions: A subscriptions library over a source of data (forked + extracted from re-frame)
What are some alternatives?
When comparing javelin and subscriptions you can also consider the following projects:
flex - flex is a reactive signal library for Clojure(Script)
missionary - A functional effect and streaming system for Clojure/Script
hoplon - Simple and powerful tool for building web apps out of highly composable elements in ClojureScript.
electric - a reactive Clojure dialect for web development that uses a compiler to infer the frontend/backend boundary
ldap3 - A pure-Rust LDAP library using the Tokio stack
todomvc-fulcro-subscriptions - Sample fullstack clojure application using fulcro and subscriptions
matrix - Fine-grained, transparent data flow between generative objects.