-
Notifications
You must be signed in to change notification settings - Fork 638
Error: Component class with extends
Taylor Hunt edited this page Aug 2, 2019
·
3 revisions
The following component class definition in a single-file component will cause an error:
class MyComponent extends MyBaseComponent {
…
}
<section>…</section>
extends
is not allowed inside component classes. Marko component classes should not need a class hierarchy.
To automatically fix deprecated marko syntax, try the marko migrate
command from the CLI.