Skip to content

refactor(core): remove duplicate createRenderer call#47981

Closed
crisbeto wants to merge 1 commit intoangular:mainfrom
crisbeto:47980/renderer-duplicate-call
Closed

refactor(core): remove duplicate createRenderer call#47981
crisbeto wants to merge 1 commit intoangular:mainfrom
crisbeto:47980/renderer-duplicate-call

Conversation

@crisbeto
Copy link
Member

@crisbeto crisbeto commented Nov 6, 2022

Fixes that we were calling createRenderer even though we had one already. This likely wasn't a performance issue since the renderer factory caches the renderer, but it's still better to reuse it to avoid confusion in the future.

Fixes #47980.

Fixes that we were calling `createRenderer` even though we had one already. This likely wasn't a performance issue since the renderer factory caches the renderer, but it's still better to reuse it to avoid confusion in the future.

Fixes angular#47980.
@crisbeto crisbeto added action: review The PR is still awaiting reviews from at least one requested reviewer area: core Issues related to the framework runtime target: patch This PR is targeted for the next patch release labels Nov 6, 2022
@ngbot ngbot bot modified the milestone: Backlog Nov 6, 2022
@crisbeto crisbeto marked this pull request as ready for review November 6, 2022 12:18
@pullapprove pullapprove bot requested a review from dylhunn November 6, 2022 12:19
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.

👍

@AndrewKushnir AndrewKushnir removed the request for review from dylhunn November 7, 2022 05:33
@AndrewKushnir AndrewKushnir removed the action: review The PR is still awaiting reviews from at least one requested reviewer label Nov 7, 2022
@ChanduMdp
Copy link

Caretaker Note: Please ignore the google-internal-tests status. Unrelated preexisting failures

@devversion devversion added 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: caretaker note labels Nov 7, 2022
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Nov 7, 2022
@ngbot

This comment was marked as outdated.

@AndrewKushnir
Copy link
Contributor

This PR was merged into the repository by commit 917816f.

AndrewKushnir pushed a commit that referenced this pull request Nov 7, 2022
Fixes that we were calling `createRenderer` even though we had one already. This likely wasn't a performance issue since the renderer factory caches the renderer, but it's still better to reuse it to avoid confusion in the future.

Fixes #47980.

PR Close #47981
AndrewKushnir pushed a commit that referenced this pull request Nov 7, 2022
Fixes that we were calling `createRenderer` even though we had one already. This likely wasn't a performance issue since the renderer factory caches the renderer, but it's still better to reuse it to avoid confusion in the future.

Fixes #47980.

PR Close #47981
@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 8, 2022
trekladyone pushed a commit to trekladyone/angular that referenced this pull request Feb 1, 2023
Fixes that we were calling `createRenderer` even though we had one already. This likely wasn't a performance issue since the renderer factory caches the renderer, but it's still better to reuse it to avoid confusion in the future.

Fixes angular#47980.

PR Close angular#47981
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 merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Duplicate call to createRenderer in ComponentFactory.create

5 participants