Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Closed

Conversation

arturovt
Copy link
Contributor

This commit brings the necessary event replay code code in tree-shakable manner.

@pullapprove pullapprove bot requested a review from AndrewKushnir April 30, 2025 21:20
@angular-robot angular-robot bot added the area: core Issues related to the framework runtime label Apr 30, 2025
@arturovt
Copy link
Contributor Author

@AndrewKushnir this is what we've discussed in this PR (#59635 (comment)).

@ngbot ngbot bot added this to the Backlog milestone Apr 30, 2025
Copy link
Contributor

@AndrewKushnir AndrewKushnir left a 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.

@AndrewKushnir AndrewKushnir added target: rc This PR is targeted for the next release-candidate action: review The PR is still awaiting reviews from at least one requested reviewer labels Apr 30, 2025
@arturovt arturovt force-pushed the refactor/core-stash-event-listener branch 2 times, most recently from 8f7d01f to fef790b Compare May 1, 2025 08:17
This commit brings the necessary event replay code code in tree-shakable manner.
@arturovt arturovt force-pushed the refactor/core-stash-event-listener branch from fef790b to f2fc8fd Compare May 1, 2025 21:16
@arturovt arturovt requested a review from AndrewKushnir May 7, 2025 20:42
Copy link
Contributor

@AndrewKushnir AndrewKushnir left a 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 👍

@AndrewKushnir AndrewKushnir added action: presubmit The PR is in need of a google3 presubmit and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels May 8, 2025
@AndrewKushnir
Copy link
Contributor

Presubmit.

@AndrewKushnir AndrewKushnir added action: merge The PR is ready for merge by the caretaker merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note and removed action: presubmit The PR is in need of a google3 presubmit labels May 9, 2025
@AndrewKushnir
Copy link
Contributor

Caretaker note: the presubmit is "green" (only unrelated and pre-existing failures).

@alxhub
Copy link
Member

alxhub commented May 14, 2025

This PR was merged into the repository by commit a5db6c4.

The changes were merged into the following branches: main, 20.0.x

@alxhub alxhub closed this in a5db6c4 May 14, 2025
alxhub pushed a commit that referenced this pull request May 14, 2025
…61077)

This commit brings the necessary event replay code code in tree-shakable manner.

PR Close #61077
@arturovt arturovt deleted the refactor/core-stash-event-listener branch May 14, 2025 22:36
arturovt added a commit to arturovt/angular that referenced this pull request May 14, 2025
alxhub pushed a commit that referenced this pull request May 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker area: core Issues related to the framework runtime merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: rc This PR is targeted for the next release-candidate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants