github ariakit/ariakit @ariakit/utils@0.1.0

latest releases: @ariakit/react-components@0.1.1, @ariakit/solid@0.2.1, @ariakit/react-store@0.1.1...
4 hours ago

Added standalone utility and store packages

The shared utility and store helpers are now available as pure ESM packages with a single public entrypoint:

import { invariant } from "@ariakit/utils";
import { createStore } from "@ariakit/store";
import { useStoreState } from "@ariakit/react-store";

React consumers importing from @ariakit/react can continue to use useStoreState there. The standalone store packages are available for direct utility imports, and @ariakit/react-components/store exposes the React store helpers for component internals.

Don't miss a new ariakit release

NewReleases is sending notifications on new releases.