UNPKG

wxt-zustand

Version:

High-performance Zustand state management for WXT web extensions with seamless cross-tab synchronization and sub-10ms React re-renders

12 lines 534 B
// Core state diffing and patching utilities // Optimized for efficient cross-context state synchronization // Import then re-export to avoid TS/Bun re-export edge cases in tests import { shallowDiff } from './shallowDiff'; import { shallowPatch } from './shallowPatch'; // Local export to avoid Bun TS re-export issue in tests export function isValidState(state) { return typeof state === 'object' && state !== null; } export { shallowDiff, shallowPatch }; export { ChangeType } from '../types'; //# sourceMappingURL=index.js.map