fix(core): correctly clear template HMR internal renderer cache by clydin · Pull Request #58724 · angular/angular · GitHub
Skip to content

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

Closed
clydin wants to merge 1 commit into
angular:mainfrom
clydin:hmr/fix-clear-render-cache
Closed

fix(core): correctly clear template HMR internal renderer cache#58724
clydin wants to merge 1 commit into
angular:mainfrom
clydin:hmr/fix-clear-render-cache

Conversation

@clydin

@clydin clydin commented Nov 18, 2024

Copy link
Copy Markdown
Member

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
Copy Markdown
Contributor

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
Copy Markdown

@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