Skip to content

refactor(core): extract dirty and markForRefresh from the private ViewRef.#59122

Closed
JeanMeche wants to merge 1 commit intoangular:mainfrom
JeanMeche:core/viewref
Closed

refactor(core): extract dirty and markForRefresh from the private ViewRef.#59122
JeanMeche wants to merge 1 commit intoangular:mainfrom
JeanMeche:core/viewref

Conversation

@JeanMeche
Copy link
Copy Markdown
Member

This allows better tree shaking when not using the element package.

@angular-robot angular-robot bot added the area: core Issues related to the framework runtime label Dec 10, 2024
@ngbot ngbot bot added this to the Backlog milestone Dec 10, 2024
@angular-robot angular-robot bot added area: core Issues related to the framework runtime and removed area: core Issues related to the framework runtime labels Dec 10, 2024
@ngbot ngbot bot modified the milestone: Backlog Dec 10, 2024
@JeanMeche JeanMeche changed the title refactor(core): extract viewRef.dirty as individual function refactor(core): extract dirty and markForRefresh from the private ViewRef. Dec 10, 2024
@JeanMeche JeanMeche marked this pull request as ready for review December 10, 2024 01:15
@pullapprove pullapprove bot requested a review from kirjs December 10, 2024 01:16
@angular-robot angular-robot bot added area: core Issues related to the framework runtime and removed area: core Issues related to the framework runtime labels Dec 10, 2024
@ngbot ngbot bot modified the milestone: Backlog Dec 10, 2024
@angular-robot angular-robot bot added area: core Issues related to the framework runtime and removed area: core Issues related to the framework runtime labels Dec 10, 2024
@ngbot ngbot bot modified the milestone: Backlog Dec 10, 2024
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to update this comment now that we don't use the dirty prop anymore?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should keep it, requiresRefreshOrTraversal implies that we're checking for dirtiness.

@angular-robot angular-robot bot added area: core Issues related to the framework runtime and removed area: core Issues related to the framework runtime labels Dec 10, 2024
@ngbot ngbot bot modified the milestone: Backlog Dec 10, 2024
@angular-robot angular-robot bot added area: core Issues related to the framework runtime and removed area: core Issues related to the framework runtime labels Dec 10, 2024
@ngbot ngbot bot modified the milestone: Backlog Dec 10, 2024
… `ViewRef`.

This allows better tree shaking from projects without the `element` package.
@angular-robot angular-robot bot added area: core Issues related to the framework runtime and removed area: core Issues related to the framework runtime labels Dec 10, 2024
@ngbot ngbot bot modified the milestone: Backlog Dec 10, 2024
@JeanMeche JeanMeche added target: patch This PR is targeted for the next patch release action: presubmit The PR is in need of a google3 presubmit labels Dec 19, 2024
@JeanMeche JeanMeche added action: merge The PR is ready for merge by the caretaker and removed action: presubmit The PR is in need of a google3 presubmit labels Mar 4, 2025
@mmalerba
Copy link
Copy Markdown
Contributor

mmalerba commented Mar 4, 2025

This PR was merged into the repository by commit e605433.

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

@mmalerba mmalerba closed this in e605433 Mar 4, 2025
mmalerba pushed a commit that referenced this pull request Mar 4, 2025
… `ViewRef`. (#59122)

This allows better tree shaking from projects without the `element` package.

PR Close #59122
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Apr 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: core Issues related to the framework runtime target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants