signals
legend-state
Our great sponsors
signals | legend-state | |
---|---|---|
24 | 10 | |
3,512 | 2,436 | |
4.1% | 5.7% | |
8.8 | 9.5 | |
14 days ago | 4 days 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.
signals
-
Svelte 5: Runes
Putting the runic terminology aside and looking into how the signal primitive is implemented should dispel the magic. I learned a lot from examining preact's implementation: https://github.com/preactjs/signals/blob/main/packages/core/...
-
React: Fine-grained reactivity should be the norm
https://refactoring.guru/design-patterns/observer/typescript/example https://indepth.dev/posts/1269/finding-fine-grained-reactive-programming#how-it-works https://legendapp.com/open-source/legend-state/ https://legendapp.com/open-source/state/fine-grained-reactivity/ https://www.builder.io/blog/usesignal-is-the-future-of-web-frameworks https://dev.to/ryansolid/a-hands-on-introduction-to-fine-grained-reactivity-3ndf https://medium.com/hackernoon/becoming-fully-reactive-an-in-depth-explanation-of-mobservable-55995262a254 https://preactjs.com/blog/introducing-signals/ https://hygraph.com/blog/react-memo
- Why are signals still not so popular?
-
Is redux ecosystem still active?
All the frameworks are starting to adapt them. You can easily add them to react project as well. https://preactjs.com/blog/introducing-signals/
-
DreamBerd; Perfect Programming Language
Signals are a design paradigm for reactive programming which have recently trended in the JS frontend space. For e.g., https://preactjs.com/blog/introducing-signals/
-
Which UI framework should I pick up as my first?
Compare Vue's reactivity system to the principles the Preact authors write about here:
-
Super Charging Fine-Grained Reactive Performance
Reactivity libraries are at the heart of modern web component frameworks like Solid, Qwik, Vue, and Svelte. And in some cases you can add fine-grained reactive state management to other libraries like Lit and React. Reactively comes with a decorator for adding reactive properties to any class, as well as prototype integration with Lit. Preact Signals comes with a prototype integration with React. Expect more integrations as these reactivity cores mature.
-
Empire (State) has gone 1.0!
State solution should not be a framework, this is what I dislike in riverpod as well.. its a FRAMEWORK... compare to the simple useSignal hook that preact has https://preactjs.com/blog/introducing-signals/ this looks like an overkill.
-
React VDOM vs Preact Signal Performance flame graph
Looks like it's coming from here https://preactjs.com/blog/introducing-signals
-
Sciter.Android, preview available
Sciter got native (built-in) Signal implementation made after PReact's Signals;
legend-state
-
Setup test driven development on any React app with Cortex
There is not much to refactor in this simple example, but if we look closer to the the legend app state lib, we can see that set can take a callback with the previous state as parameter
-
Which state management library should I use?
For signals, Signia or Legend State.
-
Legend-State 1.0: The fastest React state library
I'd love to know what you think, and I'm also happy to answer any general JavaScript performance questions if you want since I've gone very deep into optimizing . See the GitHub: https://github.com/LegendApp/legend-state
-
Show HN: Legend-State 1.0 – The fastest React state library
After almost a year of development and iterating, we just released Legend-State 1.0. It's the fastest React state library and is very easy to use, based on Observables (Signals) with fine-grained reactivity and built-in persistence.
I'd love to know what you think, and I'm also happy to answer any general JavaScript performance questions if you want since I've gone very deep into optimizing .
https://github.com/LegendApp/legend-state
-
Legend App?
We do plan on adding a table view, and we've designed out a general idea of how it would work. And I'm very excited about it! But I'm not sure exactly when we'll start on it. Right now we're finalizing a new state/sync system (in open source at https://github.com/LegendApp/legend-state), then we'll add support for Markdown files, then a very cool new feature we're still exploring. I think you could expect sometime early next year we'll start working on expanding the view modes (but it's all still fluid so no promises!).
-
Which state management library is the best for React? (suggest any libraries that are not included in the poll)
Legend-state - https://legendapp.com/open-source/state/
- Making React fast by default and truly reactive
-
I am sick and tired of react-redux. Who has some good alternatives?
Legend-State is good.
What are some alternatives?
jotai - 👻 Primitive and flexible state management for React
zustand - 🐻 Bear necessities for state management in React
devtools - Replay.io DevTools
MobX - Simple, scalable state management.
redux-toolkit - The official, opinionated, batteries-included toolset for efficient Redux development
redux - A JS library for predictable global state management
Preact - ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
react-starter-kit - The web's most popular Jamstack front-end template (boilerplate) for building web applications with React
crux - A collection of small, focussed, utilities to help maintain decoupled and lightweight code in the browser.
pullstate - Simple state stores using immer and React hooks - re-use parts of your state by pulling it anywhere you like!