Skip to content

Use @Adapter Decorator to Apply AdapterMixin() #44

@nitipit

Description

@nitipit

Won't Implement yet

This feature will not be implemented until typescript support decorator by default.


Description

Enhance the usage of AdapterMixin by implementing the @Adapter decorator. This approach will simplify and standardize how AdapterMixin is applied to Web Components.

Context

  • AdapterMixin has potential for broader use across various Web Components.
  • A decorator like @Adapter could streamline integration, making it more intuitive for developers.

Potential Extensions

  • Consider introducing a specialized decorator, e.g., @AdapterLit, to support Lit-based Web Components effectively. This could further enhance compatibility and developer experience.

Expected Outcome

  • Enable seamless application of AdapterMixin using the @Adapter decorator.
  • Explore and validate the feasibility of @AdapterLit for Lit-specific use cases.

Additional Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions