Skip to content
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

[dom-parts] Browser updating parts list from getParts() #993

Open
tbondwilkinson opened this issue Mar 21, 2023 · 1 comment
Open

[dom-parts] Browser updating parts list from getParts() #993

tbondwilkinson opened this issue Mar 21, 2023 · 1 comment

Comments

@tbondwilkinson
Copy link
Contributor

tbondwilkinson commented Mar 21, 2023

@justinfagnani @mfreed7 @sorvell @kevinpschaaf and a few folks from Angular have been thinking about the DOM parts API fresh.

Taken with #990 and #992, the browser needs to return a list of parts that is accurate with what is represented in the DOM. The browser also needs to keep that list updated when nodes are added or removed from the DOM or when new parts are constructed. Ideally this list should be in DOM-order as well, to make walking the parts as easy as possible.

How the browser should keep this list live may be easiest with a cached list of parts that is invalidated. For a full discussion of how the browser might do this book-keeping, see this discussion on a new proposal based on DOM parts.

@keithamus
Copy link
Collaborator

keithamus commented Apr 21, 2023

WCCG had their spring F2F in which this was discussed. Present members of WCCG identified an action item to take the topic of DOM Parts and break it out into extended discussions. You can read the full notes of the discussion (#978 (comment)) in which this was discussed, heading entitled "DOM Parts API".

As this issue pertains to DOM parts, I'd like to call out that #999 has been raised for extended discussions and this topic may be discussed during those sessions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants