refactor(core): Make sure not to do anymore jsaction work once everything is replayed. (#55799)

Without this, I think subsequent renders will populate data structures.

PR Close #55799
This commit is contained in:
Thomas Nguyen 2024-05-14 15:19:03 -07:00 committed by Pawel Kozlowski
parent 4c7efc005a
commit 01a19f33b5

View file

@ -121,6 +121,7 @@ export function withEventReplay(): Provider[] {
for (const el of jsactionMap.keys()) {
el.removeAttribute(JSACTION_ATTRIBUTE);
}
setDisableEventReplayImpl(() => {});
}
});
};