Ember's new GJS syntax is now supported by GitHub!
A boring component:
class ActionButton extends Component {
<template>
<button {{on "click" @onclick}}>
{{yield}}
</button>
</template>
}
A component with some tracked state:
class Counter extends Component {
@tracked accessor count = 0;
increment = () => this.count++;
<template>
<p>count: {{this.count}}</p>
<button {{on "click" this.increment}}>
++
</button>
</template>
}
We have ~200 files to go to get support for GTS files, but we're closing in!