Repository navigation
refactor(core): make timer-related @defer logic tree-shakable - #52042
Closed
AndrewKushnir wants to merge 1 commit into
Closed
AndrewKushnir wants to merge 1 commit into
AndrewKushnir wants to merge 1 commit into
Conversation
@defer logic tree-shakable
AndrewKushnir
force-pushed
the
tree-shake-timer-scheduling
branch
2 times, most recently
from
October 6, 2023 01:21
906b509 to
0de6145
Compare
AndrewKushnir
marked this pull request as ready for review
October 6, 2023 01:22
AndrewKushnir
force-pushed
the
tree-shake-timer-scheduling
branch
from
October 6, 2023 19:22
0de6145 to
8503ea7
Compare
AndrewKushnir
force-pushed
the
tree-shake-timer-scheduling
branch
2 times, most recently
from
October 6, 2023 21:54
1025257 to
b1e19c9
Compare
Contributor
Author
This commit updates `@defer` logic related to handling `after` and `minimum` parameters tree-shakable. If `after` or `minimum` was used on a `@loading` or `@placeholder` blocks, compiler generates an extra argument for the `ɵɵdefer` instruction. This extra argument is a reference to a function that brings timer-related code.
AndrewKushnir
force-pushed
the
tree-shake-timer-scheduling
branch
from
October 9, 2023 19:41
b1e19c9 to
9d6a4b3
Compare
Contributor
Author
|
Presubmit #2 (after rebase and resolving conflicts). |
Contributor
Author
|
Caretaker note: presubmit is "green" (only pre-existing failures), the size-tracking review can be skipped, since there was a reduction in payload size (which was the goal of this PR). This PR is ready for merge. |
Contributor
|
This PR was merged into the repository by commit 2eebd47. |
|
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. |
ChellappanRajan
pushed a commit
to ChellappanRajan/angular
that referenced
this pull request
Jan 23, 2024
…lar#52042) This commit updates `@defer` logic related to handling `after` and `minimum` parameters tree-shakable. If `after` or `minimum` was used on a `@loading` or `@placeholder` blocks, compiler generates an extra argument for the `ɵɵdefer` instruction. This extra argument is a reference to a function that brings timer-related code. PR Close angular#52042
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit updates
@deferlogic related to handlingafterandminimumparameters to be tree-shakable.If
afterorminimumwas used on a@loadingor@placeholderblocks, compiler generates an extra argument for theɵɵdeferinstruction. This extra argument is a reference to a function that brings timer-related code.PR Type
What kind of change does this PR introduce?
Does this PR introduce a breaking change?