{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export {\n  ref,\n  devtools,\n  subscribe,\n  produce,\n  /**\n   * @since 0.3.0\n   */\n  setGlobalNotifyInSync,\n  /**\n   * @since 0.2.0\n   */\n  snapshot,\n  /**\n   * @since 0.2.0\n   */\n  createVanilla,\n  /**\n   * @since 0.3.1\n   */\n  proxyCount,\n  /**\n   * @deprecated Use `snapshot` instead. Will be removed in the next major version.\n   */\n  getSnapshot,\n} from './vanilla/index.js'\n\nexport {\n  /**\n   * Create a store with React hooks. If you are in a Vanilla JavaScript environment, consider using [createVanilla](https://sheinsight.github.io/reactive/zh-cn/reference/basic/create-vanilla.html) instead.\n   *\n   * 创建一个带有 React hooks 的 store。如果你在 Vanilla JavaScript 环境中使用 store，请考虑使用 [createVanilla](https://sheinsight.github.io/reactive/zh-cn/reference/basic/create-vanilla.html) 替代。\n   *\n   * @link https://sheinsight.github.io/reactive/reference/basic/create.html\n   *\n   * @example\n   *\n   * ```tsx\n   * import { create } from '@shined/reactive'\n   *\n   * const store = create({ count: 0 })\n   *\n   * function increaseCount() {\n   *   store.mutate.count++\n   * }\n   *\n   * function Counter() {\n   *   const count = store.useSnapshot(s => s.count)\n   *   return <button onClick={increaseCount}>Count is {count}</button>\n   * }\n   */\n  createWithHooks as create,\n  /**\n   * @since 0.2.0\n   */\n  useReactive,\n  /**\n   * @since 0.2.0\n   */\n  useSnapshot,\n  /**\n   * @since 0.2.0\n   */\n  useSubscribe,\n} from './react/index.js'\n\nexport * from './react/enhancers/index.js'\nexport * from './vanilla/enhancers/index.js'\n\nexport type * from './vanilla/index.js'\nexport type * from './react/index.js'\nexport type * from './utils/index.js'\nexport type * from './standalone/create-single-loading/index.js'\n"],"names":["create","createWithHooks","createVanilla","devtools","getSnapshot","produce","proxyCount","ref","setGlobalNotifyInSync","snapshot","subscribe","useReactive","useSnapshot","useSubscribe"],"mappings":";;;;;;;;;;;QAmDqBA;eAvBnB;;;;;;;;;;;;;;;;;;;;;;GAsBC,GACDC,0BAAe;;QAtCf;;GAEC,GACDC;eAAAA,uBAAa;;QAdbC;eAAAA,kBAAQ;;QAmBR;;GAEC,GACDC;eAAAA,qBAAW;;QApBXC;eAAAA,iBAAO;;QAaP;;GAEC,GACDC;eAAAA,oBAAU;;QAnBVC;eAAAA,aAAG;;QAIH;;GAEC,GACDC;eAAAA,+BAAqB;;QACrB;;GAEC,GACDC;eAAAA,kBAAQ;;QATRC;eAAAA,mBAAS;;QAiDT;;GAEC,GACDC;eAAAA,sBAAW;;QACX;;GAEC,GACDC;eAAAA,sBAAW;;QACX;;GAEC,GACDC;eAAAA,uBAAY"}