Cycle.js
Bacon
Our great sponsors
Cycle.js | Bacon | |
---|---|---|
11 | 5 | |
10,235 | 6,460 | |
0.0% | 0.1% | |
4.1 | 1.8 | |
5 months ago | 10 months ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
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.
Cycle.js
- Could angular possibly compile rxjs Ahead Of Time?
-
Can be the future of JSX be Functional first?
Seems like you might be interested in this
-
Front-end Guide
Cycle
-
[AskJS] Opinions In Favor of Coding Document Fragments in JS?
This is the standard way of going about things in Mithril and Cycle. Elm as well doesn't use an XML knockoff for view code- and as a fun fact, the original version of React didn't either.
- What is a really cool thing you would want to write in Rust but don't have enough time, energy or bravery for?
- Solid.js feels like what I always wanted React to be
-
callbag-rs: An implementation of the callbag spec
For example, an FRP framework (created by the same author who later wrote the callbag spec): https://cycle.js.org/
-
Does it make sense to use Scala.js/Laminar in the context of a startup?
TypeScript is relatively mainstream at this point, and I think that's good news. If you want to crank the type-safety and pure FP dials on it to 11, you certainly can do that. I have a project that I've based largely on this post, including the "hardcore" section. However, instead of Redux and otherwise plain React, I've chosen to use Cycle.js and the lessons from this post to use React in a very purely Functional Reactive Programming Way.
-
Flame: A PureScript front-end framework inspired by the Elm architecture
This post links to a PureScript project that is probably the easiest PS framework around.
ReScript + rescript-react is a good alternative. Less safe, waaaay more verbose; but backed by Facebook.
This is quite cute (in TypeScript though): https://github.com/cyclejs/cyclejs
And Yew is super cool, it goes the WASM route (in Rust): https://github.com/yewstack/yew
-
My Open Source Journey
From now on I was on what I would call a typical open source trajectory. I used the Cycle.js framework to rewrite my frontend and in that process I hit some walls. I eventually figured that the error was on my side and that I was just missing some information to avoid the error. To spare others the hours of debugging I started to contribute small patches to the documentation. At the same time I also found some missing features that I voiced in GitHub issues.
Bacon
-
Yes we are men. Men is what we are.
bacon.js
-
Static code generation DSL.
It would be awesome to develop something abstract and useful for usage as common PL (besides just solving specific problem), but it's really hard to develop a general purpose language (with memory management, mutations, etc.). For example, at my work I built reactive library mostly similar to Rx.js or Bacon.js, but with additional ability to compose different reactive systems on top of each other, so that streams declaration order won't matter and might be deployed separately while being glued at run-time (as long as stream names match). It's all cool, but system would only allow reactive functions (without imperativity and mutable objects), then the whole code would look really ugly and I definitely wouldn't be able to promote it among my colleges ^^, especially regarding how hard people migrate to new paradigms - sorry for complaining 😊.
-
Exploring reactive programming with Node.js
Reactor is based on the same reactive principles as Bacon.js and Knockout.js.
-
Node.js Packages and Resources
Bacon.js - Functional reactive programming.
-
Event Streams for Reactive Views
I remember hearing about Bacon.js one day and checking out their Getting Started page. In it, they demonstrate a counter using the Bacon event streaming library. This is the demo code:
What are some alternatives?
RxJS - A reactive programming library for JavaScript
MobX - Simple, scalable state management.
kefir - A Reactive Programming library for JavaScript
Most.js - Ultra-high performance reactive programming
Cycle.js (react-native) - Cycle.js driver that uses React Native to render
Highland - High-level streams library for Node.js and the browser
Elm - Compiler for Elm, a functional language for reliable webapps.
Dragonbinder - 1kb progressive state management library inspired by Vuex.