Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | /**
* Coherent.js Client Package
*
* Public API for client-side hydration, event delegation, and state management.
*
* @module @coherent.js/client
*/
// New clean hydrate API (Phase 2)
export { hydrate } from './hydrate.js';
// Event delegation system (Plan 02-01)
export {
EventDelegation,
eventDelegation,
HandlerRegistry,
handlerRegistry,
wrapEvent,
} from './events/index.js';
// State serialization (Plan 02-02)
export {
serializeState,
deserializeState,
extractState,
serializeStateWithWarning,
} from './hydration/index.js';
// Mismatch detection (Plan 02-03)
export {
detectMismatch,
reportMismatches,
formatPath,
} from './hydration/index.js';
// 1.0: removed legacy hydration re-exports — see docs/migration/1.0#removed-legacy-hydration
// HMR client (Phase 4)
export {
HMRClient,
hmrClient,
ModuleTracker,
moduleTracker,
createHotContext,
CleanupTracker,
cleanupTracker,
StateCapturer,
stateCapturer,
ErrorOverlay,
errorOverlay,
ConnectionIndicator,
connectionIndicator,
} from './hmr/index.js';
|