javelin
Spreadsheet-like dataflow programming in ClojureScript. (by hoplon)
flex
flex is a reactive signal library for Clojure(Script) (by lilactown)
Our great sponsors
javelin | flex | |
---|---|---|
4 | 2 | |
799 | 71 | |
0.5% | - | |
6.3 | 6.5 | |
6 months ago | 2 months ago | |
Clojure | Clojure | |
- | Eclipse Public License 2.0 |
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
flex
Posts with mentions or reviews of flex.
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?
https://github.com/lilactown/flex is a reactive, incremental computation library I've written very much inspired by reagent (which re-frame builds on top of for its subscription). It is pure CLJC, working on both CLJS and CLJC.
-
ClojureScript bindings to SolidJS
🙏 I just discovered more folks in the community are experimenting with it as well, checkout https://github.com/dundalek/solid-cljs, https://github.com/lilactown/flex and https://github.com/lilactown/dom
What are some alternatives?
When comparing javelin and flex you can also consider the following projects:
missionary - A functional effect and streaming system for Clojure/Script
subscriptions - A subscriptions library over a source of data (forked + extracted from re-frame)
solid-cljs - ClojureScript bindings to SolidJS
electric - a reactive Clojure dialect for web development that uses a compiler to infer the frontend/backend boundary
incremental - A library for incremental computations
hoplon - Simple and powerful tool for building web apps out of highly composable elements in ClojureScript.
ldap3 - A pure-Rust LDAP library using the Tokio stack
matrix - Fine-grained, transparent data flow between generative objects.
solid-cljs