Files
v10/packages/react/react-media-store/src/index.tsx
T
8e75d62f62 feat(react-media-store): add shallowEqual utility for optimized state comparisons
- Add shallowEqual function with array-specific optimizations to MediaProvider
- Export refEquality function for external use
- Export shallowEqual from package index for consumers

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-08 17:15:40 -07:00

16 lines
407 B
TypeScript

// Re-export everything from MediaProvider - this is the primary implementation
export {
MediaProvider,
MediaContext,
useMediaStore,
useMediaDispatch,
useMediaRef,
useMediaSelector,
shallowEqual,
} from './MediaProvider.js';
// @ts-ignore - Placeholder types until media-store exports are updated
export type MediaStore = any;
export type MediaState = any;
export type MediaStateOwner = any;