withEventReplay
function
Enables support for replaying user events (e.g. click
s) that happened on a page
before hydration logic has completed. Once an application is hydrated, all captured
events are replayed and relevant event listeners are executed.
API
Usage Notes
function withEventReplay(): HydrationFeature<HydrationFeatureKind.EventReplay>;
withEventReplay
Enables support for replaying user events (e.g. click
s) that happened on a page
before hydration logic has completed. Once an application is hydrated, all captured
events are replayed and relevant event listeners are executed.
Jump to details