Skip to content

Conversation

clydin
Copy link
Member

@clydin clydin commented Oct 31, 2024

The experimental Angular component template hot replacement capabilities will be initially controlled via an environment variable. Setting NG_HMR_TEMPLATES=1 with the development server that is using the application builder will generate the runtime event code to support hot replacement of an individual component template. The build system itself does not yet generate the component update build results needed to trigger the runtime events. The environment variable is currently intended to support integration of the remaining code to fully implement the feature.

…on via environment variable

The experimental Angular component template hot replacement capabilities
will be initially controlled via an environment variable. Setting `NG_HMR_TEMPLATES=1`
with the development server that is using the application builder will generate the
runtime event code to support hot replacement of an individual component template.
The build system itself does not yet generate the component update build results needed
to trigger the runtime events. The environment variable is currently intended to support
integration of the remaining code to fully implement the feature.
@clydin clydin added the target: rc This PR is targeted for the next release-candidate label Oct 31, 2024
@clydin clydin requested a review from alan-agius4 October 31, 2024 18:32
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Oct 31, 2024
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Nov 1, 2024
@clydin clydin merged commit 5c2aa2f into angular:main Nov 1, 2024
34 checks passed
@clydin
Copy link
Member Author

clydin commented Nov 1, 2024

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

@clydin clydin deleted the hmr/experimental-template-flag branch November 1, 2024 11:17
@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 2, 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: @angular/build target: rc This PR is targeted for the next release-candidate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants