You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 17, 2023. It is now read-only.
defining a class in the button definition may create a name confict between different features (or different versions of the same feature).
We may have similar problems with other names defined by loaded modules but expected to be unique in the broader space (inside the document, for example).
Maybe, we need to use namespaces for each loaded feature as prefixes for class names or define unique names automatically like Symbols or by some factory provided by Core or Adapter?
defining a class in the button definition may create a name confict between different features (or different versions of the same feature).
We may have similar problems with other names defined by loaded modules but expected to be unique in the broader space (inside the document, for example).
https://github.com/dapplets/typescript-examples/blob/40d0fa8cf4d2aaaf16d4f7fad46a357fd61c8f56/src/TwitterFeature2/index.ts#L116-L118
Maybe, we need to use namespaces for each loaded feature as prefixes for class names or define unique names automatically like Symbols or by some factory provided by Core or Adapter?