DEV Community

Xuan
Xuan

Posted on Edited on

Daxus - A New Server State Management Library for React

Previously, I named the package React Server Model, but I wasn't quite satisfied with the name. The reason is that it's not unique enough and can easily be confused with React Server Component. Now, I have renamed it to "Daxus," which is a combination of "data" and "nexus." I'm very happy with this name because it's distinctive enough.

Daxus is a React server state management package that emphasizes giving developers complete control over their data. If you need to establish a single source of truth, Daxus would be a great choice.

Daxus React Query Redux With Async Thunk
Customizable data structure ✅ ❌ ✅
Dedupe ✅ ✅ ❌
Revalidate on focus ✅ ✅ ❌
Revalidate on reconnect ✅ ✅ ❌
Revalidate if stale ✅ ✅ ❌
Polling ✅ ✅ ❌
Error retry ✅ ✅ ❌
Invalidate queries ✅ ✅ ❌
Mutation ✅ ✅ ✅
Conditional fetching ✅ ✅ ❌
DevTool ❌ ✅ ✅

If you find this project interesting, please leave your star. It would be a tremendous encouragement for me. Thank you. Here is the repo of Daxus: https://github.com/jason89521/daxus

Top comments (0)