capable-js
compradprog
capable-js | compradprog | |
---|---|---|
2 | 2 | |
2 | 1 | |
- | - | |
10.0 | 7.9 | |
over 1 year ago | about 2 months ago | |
TypeScript | JavaScript | |
- | 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.
capable-js
-
Coroutines in JavaScript for Web Components
Generators are so cool
I wrote my own ui/effects barebones runtime on it a few years back https://github.com/marcellerusu/capable-js
It’s especially cool when you have components that have distinct states they could be in, eg. a survey
-
Let's learn how modern JavaScript frameworks work by building one
If you mean effects as data, I can't think of anything off top other than elm which is a language + framework.
I've made my own though: https://github.com/marcellerusu/capable-js.
Its not for use but it was an interesting experience that enables a lot of new patterns by using generators.
I don't claim that it is better than other frameworks though, there's a lot of times where this pattern is significantly more cumbersome than just using react.
compradprog
-
Let's learn how modern JavaScript frameworks work by building one
I've been taking a similar, but somewhat different approach to upgrading some old Knockout projects to mostly Vanilla JS+RxJS.
Here's one example app: https://github.com/WorldMaker/compradprog/blob/main/main.tsx
One of the obvious differences is that I'm still using TSX, but it is very different from React, it just looks a lot like React at first glance.
Also, because I was doing it across at least a couple of projects, I started it from the beginning as its own small framework and have been trying to document it: https://github.com/WorldMaker/butterfloat/tree/main
It's still very much in early "prerelease" stages, but feedback is welcome.
-
How apt renders its fancy progress bar?
To take things in a more constructive direction, that said, it is an area I've experimented with/tried to solve.
My big idea was radial progress indicators to try a different "best of both worlds" approach to progress spinners versus progress bars especially for "composite" progress indication where you have an unknown number of subtasks all running at their own speeds and can be discovered/initiated independently (such as downloading files). People are worse at estimating percentages of circles than lines, which I see as something of a benefit (because the exact progress percentage should be fuzzy).
It's still not great at giving an indication of overall speed/estimated time, but it's potentially very great at "the application hasn't crashed and is busy".
It was fun to experiment with/prototype, but I don't expect it to replace progress bars any time soon. (I think it should, but it's trade-off space where every option has drawbacks and while it fits closer to what I think is my personal "ideal", it probably won't make everyone happy either.)
Demo: http://worldmaker.net/compradprog/
Source: https://github.com/WorldMaker/compradprog/
Blog post on intentions/thought process: http://blog.worldmaker.net/2015/03/17/compradprog/
What are some alternatives?
butterfloat - The greatest view engine for the modern web
materialite - Differential Dataflow & Incremental View Maintenance for JavaScript