fix(core): enable stashing only when withEventReplay() is invoked#61077
fix(core): enable stashing only when withEventReplay() is invoked#61077arturovt wants to merge 1 commit intoangular:mainfrom
withEventReplay() is invoked#61077Conversation
|
@AndrewKushnir this is what we've discussed in this PR (#59635 (comment)). |
AndrewKushnir
left a comment
There was a problem hiding this comment.
@arturovt thanks for the PR 👍
The change looks good, one quick comment: I think we should move this logic to an event-replay-related file, for ex. event_delegation_utils.ts, so the code is colocated with the rest of the event replay logic. We can also move the setStashFn and related logic (introduced in a previous PR) there too.
8f7d01f to
fef790b
Compare
This commit brings the necessary event replay code code in tree-shakable manner.
fef790b to
f2fc8fd
Compare
AndrewKushnir
left a comment
There was a problem hiding this comment.
Nice refactoring, thanks @arturovt 👍
|
Caretaker note: the presubmit is "green" (only unrelated and pre-existing failures). |
|
This PR was merged into the repository by commit a5db6c4. The changes were merged into the following branches: main, 20.0.x |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This commit brings the necessary event replay code code in tree-shakable manner.