Open bastiW opened 3 months ago
Opened Pull request: https://github.com/BuilderIO/mitosis/pull/1565
While implementing it I stumbled across the file packages/core/src/helpers/strip-state-and-props-refs.ts. I changed the code in that file.
But there is a comment: "If you need to re-use a part of this, re-create it as an AST transform first." I don't know how to do that.
I am interested in helping provide a feature!
Yes
Which generators are impacted?
What problem does this feature solve?
Angular strictly recommends not to use prefix "on" on EventEmitters.
This is already resolved when you use a component.
The onCancel and onConfirm is changed to cancel and confirm.
Parent Component
When writing a component it is not changed. It is still prefixed with on:
Child Component Modal
--> This results in components which are usable in all other Frameworks but not in Angular, because the child output does not match to the parent.
What does the proposed API look like?
In all child components
Additional Information
No response