ST

Store

@mantine/store

A library to sync external React state updates

State Management
frontend
hooks
library
next
nextjs
react
react-hooks
state
@mantine/store
State Management
Stars
338
Weekly
1.1M
Open issues
4
Bundle
~25 kB

Installation

npm install @mantine/store

Code example

import { Button, Group } from "@mantine/core";

export function Example() {
  return (
    <Group>
      <Button>Save</Button>
      <Button variant="light">Cancel</Button>
    </Group>
  );
}

Pros & cons

Pros

  • Actively maintained by Vitaly Rtishchev
  • 1.1M weekly downloads. Battle tested
  • First-class TypeScript definitions
  • MIT licensed

Considerations

  • Adds roughly ~25 kB to your bundle
  • Not supported in React Native
  • 4 open issues on GitHub

FAQs

Alternatives & similar libraries