Cycle.js
purescript-concur-react
Our great sponsors
Cycle.js | purescript-concur-react | |
---|---|---|
11 | 6 | |
10,237 | 265 | |
0.0% | -0.4% | |
4.1 | 2.0 | |
5 months ago | 5 months ago | |
TypeScript | PureScript | |
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.
purescript-concur-react
-
Building Mystery Mansion Madness without a UI Framework
Before 2012, all of my websites were made using HTML, CSS and a sprinkling of JS. Then, I went all-in on AngularJS, followed by React. I started using Typescript and then PureScript and learned more frameworks like Halogen and Concur. I even wrote my own UI framework called purescript-deku.
-
Flame: A PureScript front-end framework inspired by the Elm architecture
I was wondering that myself. Here's an Ajax example: https://github.com/purescript-concur/purescript-concur-react...
It could use some type signatures, but it makes sense.
As for managing state, my understanding of the Elm Architecture is that there is one "global" state data structure, and various parts of it are handed down from parent to child. So my question would be the opposite of yours: what if I want local state? Is that possible? There are situations where some toggle being on or off isn't very important and keeping track of it in a global data structure is burdensome
-
Shpadoinkle UI: Web development for Haskell
And here is an example of a fully editable tree in a handful of lines of code using signals - https://github.com/purescript-concur/purescript-concur-react/blob/master/examples/src/Test/EditHeadingsSignals.purs.
-
Progressive Disclosure of Complexity and Typed FP Languages
The author of the article might be interested in seeing the counter example in purescript-concur
What are some alternatives?
RxJS - A reactive programming library for JavaScript
yew - Rust / Wasm framework for creating reliable and efficient web applications
MobX - Simple, scalable state management.
purescript-flame - Fast & simple framework for building web applications
Bacon - Functional reactive programming library for TypeScript and JavaScript
purescript-concur-core - Concur UI library for Purescript. Core framework.
Most.js - Ultra-high performance reactive programming
purescript-concur-streaming-poc - A small POC for Concur async streaming without Free or Aff
Cycle.js (react-native) - Cycle.js driver that uses React Native to render
purescript-refract - Optical Purescript UI library based on React and the Elm architecture, but without the boilerplate.
Elm - Compiler for Elm, a functional language for reliable webapps.
elm-ts - A porting to TypeScript featuring fp-ts, rxjs6 and React