Compared to other adapters
The public API is the same set as the React, Vue and Svelte adapters, plus createOwner and the {{bind}} and {{inertia}} modifiers. The differences:
- Pages get
@props, because Glimmer can't spread arguments into a component. - Hooks take an owner (
usePoll(this, …)), since Ember components have no hook lifecycle. - Templates are typed through Glint, not the framework's compiler:
ember-tscchecks.gtsfiles the waytscchecks TSX andvue-tscchecks single-file components. - Hydration uses private Ember API (see SSR); the other adapters hydrate through their framework's public API.