@turbox3d/reactivity-react
Version:
Large-scale reactive state management library for react
14 lines (11 loc) • 387 B
text/typescript
import * as ReactDOM from 'react-dom';
import { registerExternalBatchUpdate, init } from '@turbox3d/reactivity';
import { Reactive } from './components/Reactive';
import { IdCustomType } from './utils/index';
init();
registerExternalBatchUpdate({
handler: ReactDOM.unstable_batchedUpdates,
idCustomType: IdCustomType,
});
export * from '@turbox3d/reactivity';
export { Reactive };