withEventReplay
함수
안정화
Enables support for replaying user events (e.g. clicks) 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.
사용 시 참고사항
Basic example of how you can enable event replay in your application when
bootstrapApplication function is used:
bootstrapApplication(App, {
providers: [provideClientHydration(withEventReplay())]
});
상세 내용으로 이동