aberdeen
persistent-ts
Our great sponsors
aberdeen | persistent-ts | |
---|---|---|
2 | 1 | |
1 | 8 | |
- | - | |
4.2 | 0.0 | |
19 days ago | 5 months ago | |
TypeScript | TypeScript | |
ISC 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.
aberdeen
-
Common Beginner Mistakes with React
We've had great results from our custom built non-pure reactive system (which predates React by a couple of years).
The idea is to have an Observable object that can store arbitrary trees of data (each itself an Observable). UI drawing is generally split into a function call for each DOM element that has children. These functions are executed such that they track the use of observables and will be rerun when they change.
I've more recently, after having suffered React and friends, started creating an Open Source implementation of the pattern we used. Currently, it's mostly still lacking in documentation and marketing, and that's unlikely to change if I'm honest. But this should give you an impression if you're interested:
https://github.com/vanviegen/aberdeen/blob/master/examples/t...
Curious to know your thoughts about this being an effective non-pure reactive system.
-
Million
Yes, that's possible and works really well.
I've written this library [1] as a clean reimplementation of a more complex beast we created for a (now dead) startup. Although the reimplementation has only seen very light use, we've used the concept extensively, and it's a joy to use. Take a look at the examples [2].
[1] https://github.com/vanviegen/aberdeen
persistent-ts
-
Common Beginner Mistakes with React
Try going all in on persistent data structures. I haven't tried this one but perhaps it will do the trick: https://github.com/cronokirby/persistent-ts
What are some alternatives?
Immer - Create the next immutable state by mutating the current one
rum - Simple, decomplected, isomorphic HTML UI library for Clojure and ClojureScript
htmx - </> htmx - high power tools for HTML
pond - Immutable timeseries data structures built with Typescript