-
Notifications
You must be signed in to change notification settings - Fork 26.3k
fix(core): enable stashing only when withEventReplay()
is invoked
#61077
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@AndrewKushnir this is what we've discussed in this PR (#59635 (comment)). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 commit brings the necessary event replay code code in tree-shakable manner.