Zustand · Concept
ref counting
Configure a test runner to handle JavaScript or TypeScript. For UI component tests, use JSDOM to provide a mock DOM.
Last updated
In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
Testing stores and componentsHow to reset stateJestVitestJSDOM