zedux
statux
zedux | statux | |
---|---|---|
11 | 5 | |
315 | 73 | |
0.6% | - | |
7.2 | 4.1 | |
6 days ago | 6 months ago | |
TypeScript | JavaScript | |
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.
zedux
-
Thoughts on Signals?
Atomic libs include Recoil, Jotai, and the one I maintain: Zedux. Zedux especially was designed to work well with sockets and RxJS observables and has been getting some traction recently, so of course I recommend checking it out. Feel free to hmu with any questions.
-
Scalability: the Lost Level of React State Management
This new tool started driving our production apps in early 2021 and has been a lifesaver in the extremes of complexity. 2 years later, we have finally open-sourced this tool as "Zedux".
-
Dependency injection into RTK Query createApi?
Zedux is a hybrid tool similar to RTK + RTKQ but with first-class DI support.
-
Which state management library should I use?
For atoms, Jotai or Zedux
-
Is redux and thunks still used or are there other alternatives for it now?
Zedux is a new up-and-coming hybrid tool similar to RTK + RTK Query but with atoms
-
Moving from Context to Redux help!
Atomic libraries like Recoil, Jotai, and Zedux specialize in expressing these dependencies clearly, giving you insight into your dependency graph and offering tools like evaluation tracing, time travel, and DI overrides to improve testability and discoverability of your code.
-
What pattern to use for getting data from public API, saving it to DB and serve it on frontend from the DB
I'd recommend a powerful state management library for something like this, especially one that gives you full control over async flow outside React. Here's a codesandbox using Zedux to demonstrate sending 4 buffered requests per minute.
-
Redux or React Context api?
After Zustand, if you need anything more, I'd either go back to Redux or learn Jotai, an atomic library that's a little more powerful than Zustand. Atoms are a little more advanced, so I wouldn't start there. Though (full disclosure) I am the author of another atomic library that is aiming to make atoms simpler to learn and use. Someday we'll get there, but for now I'd say Zustand is the best place to start.
-
Faster re-rending of table when only inserts are needed
Source: I'm the creator of Zedux, a lib that we just publicly released a few days ago and drives lots of highly-volatile state like this in our apps. If you need a powerful state manager designed to work at scale with fast-moving state streamed over websockets (SSEs work too), it might be worth looking into. Cheers!
-
Zedux open-sourced
GitHub
statux
- Which state management library should I use?
-
What are your favorite, must-have packages when you're creating a project?
https://statux.dev/ (1.06kb) state management
-
React Router 6.4 Release
Has no data management, I don't want my data mixed in my routers 🤷♂️ (for that I use https://statux.dev/)
- What react state management tools do you guys use?
-
Ask HN: What are you using for public documentation these days?
I have an unfinished side project called Documentation Page:
https://documentation.page/
It's "unfinished" because I'd need to integrate payments and do all the accounting on my side (non-trivial as an individual living in Japan), but otherwise it's worked pretty well for my own projects.
It parses your Github Repo (according to https://documentation.page/documentation#getting-started) to generate the website. It can be a single readme.md file (for smaller projects), a folder called "documentation", or you can configure it otherwise. Some examples hosted by Documentation Page:
- statux.dev: simple single-page docs and website, menu config in https://github.com/franciscop/statux/blob/master/documentati.... Similar to form-mate.dev & vector-graph.com
- react-test.dev: split into multiple pages, you specify the folder and it'll automatically merge the markdown files. See config https://github.com/franciscop/react-test/blob/master/documen...
- crossroad.page: has an landing page, but that is not officially supported (yet). See the configs in https://github.com/franciscop/crossroad/blob/master/document...
What are some alternatives?
jotai - 👻 Primitive and flexible state management for React
ToolJet - Low-code platform for building business applications. Connect to databases, cloud storages, GraphQL, API endpoints, Airtable, Google sheets, OpenAI, etc and build apps using drag and drop application builder. Built using JavaScript/TypeScript. 🚀
reatom - Reatom - the ultimate state manager
docsy - A set of Hugo doc templates for launching open source content.
TanStack Query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.
juicefs - JuiceFS is a distributed POSIX file system built on top of Redis and S3.
staff-holiday-tracker
manconvert - Convert troff-style man pages to doxygen source or formatted HTML
Recoil - Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.
legend-state - Legend-State is a super fast and powerful state library that enables fine-grained reactivity and easy automatic persistence
signia - Reactive signals that scale, by tldraw.