1 |
|
2 |
|
3 |
|
4 |
|
5 | import { useSyncExternalStore } from 'react';
|
6 | import { useSyncExternalStoreWithSelector } from 'use-sync-external-store/with-selector';
|
7 | import { unstable_batchedUpdates as batch } from './utils/reactBatchedUpdates';
|
8 | import { setBatch } from './utils/batch';
|
9 | import { initializeUseSelector } from './hooks/useSelector';
|
10 | import { initializeConnect } from './components/connect';
|
11 | initializeUseSelector(useSyncExternalStoreWithSelector);
|
12 | initializeConnect(useSyncExternalStore);
|
13 |
|
14 |
|
15 | setBatch(batch);
|
16 | export { batch };
|
17 | export * from './exports'; |
\ | No newline at end of file |