-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Currently our identity function doesn't process Private elements at all:
export function identity(e: Element | null): string | number {
if (e === null) return NaN;
if (e.closest("Private")) return NaN;
const tag = e.tagName;
if (isSCLTag(tag)) return tags[tag].identity(e);
return NaN;
}However we should use the mandatory type atttribute and index by this. This would be helpful with our diffing work for Private elements.
As discussed with @ca-d
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request