Skip to content

fix(core): correctly clear template HMR internal renderer cache #58724

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
wants to merge 1 commit into from

Conversation

clydin
Copy link
Member

@clydin clydin commented Nov 18, 2024

The internal renderer cache within the renderer factory was not being correctly cleared due to a type-casting error. This prevented template HMR from correctly updating the component. A more explicitly cast has now been used to mitigate this problem.
Component template HMR is currently considered experimental.

The internal renderer cache within the renderer factory was not being
correctly cleared due to a type-casting error. This prevented template
HMR from correctly updating the component. A more explicity cast has
now been used to mitigate this problem.
Component template HMR is currently considered experimental.
@clydin clydin added the target: patch This PR is targeted for the next patch release label Nov 18, 2024
@angular-robot angular-robot bot added the area: core Issues related to the framework runtime label Nov 18, 2024
@ngbot ngbot bot added this to the Backlog milestone Nov 18, 2024
@clydin clydin requested a review from AndrewKushnir November 18, 2024 19:53
@clydin clydin marked this pull request as ready for review November 18, 2024 19:53
@clydin clydin removed the request for review from AndrewKushnir November 18, 2024 21:14
@clydin clydin added action: merge The PR is ready for merge by the caretaker and removed action: merge The PR is ready for merge by the caretaker labels Nov 18, 2024
@clydin clydin added the action: merge The PR is ready for merge by the caretaker label Nov 19, 2024
@AndrewKushnir
Copy link
Contributor

This PR was merged into the repository by commit d33af5c.

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

AndrewKushnir pushed a commit that referenced this pull request Nov 19, 2024
The internal renderer cache within the renderer factory was not being
correctly cleared due to a type-casting error. This prevented template
HMR from correctly updating the component. A more explicity cast has
now been used to mitigate this problem.
Component template HMR is currently considered experimental.

PR Close #58724
@clydin clydin deleted the hmr/fix-clear-render-cache branch November 19, 2024 20:53
@angular-automatic-lock-bot
Copy link

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 Dec 20, 2024
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.

3 participants