UNPKG

@graphiql/react

Version:

[Changelog](https://github.com/graphql/graphiql/blob/main/packages/graphiql-react/CHANGELOG.md) | [API Docs](https://graphiql-test.netlify.app/typedoc/modules/graphiql_react.html) | [NPM](https://www.npmjs.com/package/@graphiql/react)

10 lines (9 loc) 291 B
import { useStore } from "zustand"; import { useShallow } from "zustand/shallow"; const createBoundedUseStore = (store) => (selector) => { return useStore(store, selector && useShallow(selector)); }; export { createBoundedUseStore }; //# sourceMappingURL=create-bounded-use-store.js.map