1234567891011121314151617 |
- import * as React from 'react';
- import { useSyncExternalStoreWithSelector } from 'use-sync-external-store/with-selector';
- import { unstable_batchedUpdates as batch } from './utils/reactBatchedUpdates';
- import { setBatch } from './utils/batch';
- import { initializeUseSelector } from './hooks/useSelector';
- import { initializeConnect } from './components/connect';
- initializeUseSelector(useSyncExternalStoreWithSelector);
- initializeConnect(React.useSyncExternalStore);
- setBatch(batch);
- export { batch };
- export * from './exports';
|