Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@hawkgs
Copy link
Member

@hawkgs hawkgs commented Jan 14, 2026

The PR includes two commits:

feat(core): add host node to DeferBlockData

Add the host/container comment node to the DeferBlockData. This node can be used as a @defer block locator, in the DOM tree, in the absence of root nodes.

fix(devtools): support for @defer-only blocks; defer declared blocks

With the help of the above-mentioned commit (i.e. the host node), we can now locate and render in the component tree the @defer blocks that don't have a placeholder. Additionally, the commit fixes a couple of minor bugs related to showing @placeholder and @loading blocks pills in the details panel even if they are not declared.

Add the host/container comment node to the `DeferBlockData`. This node can be used as a `@defer` block locator in the DOM tree in the absence of root nodes.
@hawkgs hawkgs requested review from JeanMeche and crisbeto January 14, 2026 15:51
@hawkgs hawkgs added area: core Issues related to the framework runtime area: devtools labels Jan 14, 2026
@ngbot ngbot bot modified the milestone: Backlog Jan 14, 2026
@angular-robot angular-robot bot added the detected: feature PR contains a feature commit label Jan 14, 2026
@hawkgs hawkgs force-pushed the devtools/defer-blocks-fixes branch from d108cd0 to 4fb1587 Compare January 14, 2026 16:03
Add support for `@defer`-only blocks (previously, they weren't rendered in the component tree at all); Fix declared blocks section in the details
@hawkgs hawkgs force-pushed the devtools/defer-blocks-fixes branch from 4fb1587 to 97fc206 Compare January 15, 2026 09:19
@hawkgs hawkgs removed the request for review from crisbeto January 19, 2026 13:04
@hawkgs hawkgs added action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release labels Jan 19, 2026
@amishne
Copy link
Contributor

amishne commented Jan 20, 2026

This PR was merged into the repository. The changes were merged into the following branches:

@amishne amishne closed this in 92d2498 Jan 20, 2026
amishne pushed a commit that referenced this pull request Jan 20, 2026
…66546)

Add support for `@defer`-only blocks (previously, they weren't rendered in the component tree at all); Fix declared blocks section in the details

PR Close #66546
@hawkgs hawkgs deleted the devtools/defer-blocks-fixes branch January 21, 2026 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: core Issues related to the framework runtime area: devtools detected: feature PR contains a feature commit target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants