@blac/react
Version:
React bindings for BlaC — useBloc hook with automatic re-render optimization
14 lines (13 loc) • 568 B
TypeScript
/**
* React Integration
*
* Clean integration between React and StateContainer architecture.
* Constructor-based API with automatic type inference.
* Re-renders are driven by per-consumer, path-scoped channel subscriptions.
*/
export { useBloc } from './useBloc';
export { untracked } from '@dirtytalk/structural';
export { configureBlacReact } from './config';
export type { BlacReactConfig } from './config';
export type { UseBlocOptions, UseBlocReturn } from './types';
export { BlocProvider, useProvidedArgs, type BlocProviderProps, } from './BlocProvider';