legend-state
react-18
Our great sponsors
legend-state | react-18 | |
---|---|---|
10 | 139 | |
2,436 | 5,173 | |
5.7% | 0.2% | |
9.5 | 0.0 | |
7 days ago | almost 3 years ago | |
TypeScript | ||
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.
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.
react-18
-
Simulate global state tradeoffs in React concurrent mode
If you aren't sure why state tearing was a hot topic a few years ago, when React's concurrent mode was first discussed, this github discussion should help: https://github.com/reactwg/react-18/discussions/69.
Tanner Linsley had a great post on twitter that suggested that concurrent rendering was fundamentally at odds with fine-grained reactivity, so to better understand what he was talking about I decided to write this demo.
- A modest request: How do you fetch data in React 18+ WITHOUT a third party dependency?
-
The Sisyphean Quest for Web Performance
Image Source: https://github.com/reactwg/react-18/discussions/37
-
useAsyncState in react, no more unnecessary useEffects.
But it does since React 18.
-
Function props
See this post for more details and an example of an actual memory leak.
-
ELI5, why is ReactDOM.createRoot an improvement over ReactDOM.render?
From the React WG:
- I know my component is re-rendering because a console.log I put in the component is logging in the console. However when I use the inspector to see why it re-rendered, its saying that it didnt re-render. How is this possible?
- Timeout in event handler
-
The current state of CSS-in-JS + React
The React working group is officially advising against using runtime CSS-in-JS.
- Warning abt setting state of unmounted component
What are some alternatives?
zustand - 🐻 Bear necessities for state management in React
Preact - ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
signals - Manage state with style in every framework
htmx - </> htmx - high power tools for HTML
devtools - Replay.io DevTools
petite-vue - 6kb subset of Vue optimized for progressive enhancement
MobX - Simple, scalable state management.
react-query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]
redux - A JS library for predictable global state management
React - The library for web and native user interfaces.
react-starter-kit - The web's most popular Jamstack front-end template (boilerplate) for building web applications with React