Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are Stencil decorators compile-time only? Or is there a runtime option? #6031

Open
3 tasks done
trusktr opened this issue Oct 17, 2024 · 1 comment
Open
3 tasks done
Labels

Comments

@trusktr
Copy link

trusktr commented Oct 17, 2024

Prerequisites

Describe the Feature Request

This isn't a feature request per se, however signing up for the forums requires handing over read/write permissions to my private repositories in order to log in which I can't accept.

I'm writing here because I'm curious if the new stage 3 standard decorator format has any impact on how decorators are implemented in Stencil.

My hunch is that if the decorators are compile-time annotations only, then runtime doesn't matter.

If Stencil does have a runtime decorator implementation, I would like to get feedback on whether the following problem and the solution idea make things eadier for decorator authors and/or decorator users:

discrepancy: we're allowed to get/set private fields, but not public fields, and public auto accessors are not fields.

Maybe this has no impact on Stencil at all if it will not have decorators at runtime.

Describe the Use Case

Define a Stencil component without using the compiler, while still using decorators (requires runtime implementation).

Describe Preferred Solution

No response

Describe Alternatives

No response

Related Code

No response

Additional Information

No response

@ionitron-bot ionitron-bot bot added the triage label Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants
@trusktr and others