Next-gen state management for React
Iterate faster and catch bugs earlier.
store({ list: [] as Todo[] }).actions({
add: (state, todo: Todo) => ({
list: [...state.list, todo]
})
});
Zero Boilerplate
Removing all friction by design, Wire is optimized for fast iteration. Let the compiler do the work - Wire uses maximum type inference to help you type less.
Type Safety
Leave stringly-typed code behind and make it impossible to do the wrong thing. Not only does Wire enforce functional data flow, it also marks all state as immutable.
Batteries Included
Wire comes with actions, async thunks, selectors, and a devtools extension. Everything you need is already here - no need to install anything else.
Sophisticated Yet Simple
There's only one way to do things in Wire - and that's the right way to do it. This makes it super easy to get started, to maintain, and avoids preventable mistakes by junior developers.
React Hooks
Supercharge your functional components and connect to stores using hooks. And don't worry, class components are covered too.