Skip to content
This repository was archived by the owner on Jun 20, 2025. It is now read-only.
This repository was archived by the owner on Jun 20, 2025. It is now read-only.

Ignoring certain attributes #412

@sgammon

Description

@sgammon

Hi esteemed idom authors,

We are using a UI framework which, when upgrading components to a decorated state, adds an attribute to the element being upgraded.

Sometimes, when we render over these upgraded components with idom, the upgraded components get trampled, presumably because the attribute signaling its upgrade is removed, having been added after idom’s initial render.

So, my question: is there a mechanism to skip certain named attributes in the DOM, if they are found during idom render, but aren’t present in the template?

We are driving idom from Soy, so, for us, some JSAPI change or addition might solve this (I.e. a config object passed to ‘IncrementalDOM.patch’).

We can’t use the skip calls, for instance, because those would have to be generated by Soy.

Thank you in advance for your time and help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions