Skip to content

feat: Zoneless Angular Compatibility #755

@craPkit

Description

@craPkit

Prerequisites

Describe the Feature Request

Currently, the generated @Components inject NgZone, for use in utils.ts' proxyInputs and proxyMethods. This prohibits using zoneless change detection.

Describe the Use Case

I would like to be able to consume the Stencil-built component lib adapters from zoneless Angular apps.

Describe Preferred Solution

Angular Signals are obvious choice for defining reactive inputs and outputs without zone.js. Whether they are technically feasible for use in Stencil remains to be evaluated.

Describe Alternatives

No response

Related Code

No response

Additional Information

As of now, Angular's @Component() decorator does not and will not provide an option to create signal inputs:
https://github.com/search?q=repo%3Astenciljs%2Foutput-targets+from+%27%40angular+path%3A%2F%5Epackages%5C%2Fangular%5C%2F%2F&type=code

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wanteda good issue for the community

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions