TL;DR: add something in the DOM during dev mode to help identify the template source file that corresponds to that DOM subtree.
I'm filing this issue on behalf of one of Google infrastructure teams. In very large applications, it can be difficult to identify a node in the DOM and then find the source location for that node. This could manifest as something like a data- attribute on component host element that references the file that contains that component's template. Other development tools could be built on top of this, such as for visualizing page composition.
TL;DR: add something in the DOM during dev mode to help identify the template source file that corresponds to that DOM subtree.
I'm filing this issue on behalf of one of Google infrastructure teams. In very large applications, it can be difficult to identify a node in the DOM and then find the source location for that node. This could manifest as something like a
data-attribute on component host element that references the file that contains that component's template. Other development tools could be built on top of this, such as for visualizing page composition.