ember-api-docs icon indicating copy to clipboard operation
ember-api-docs copied to clipboard

Update import example component to glimmer

Open geneukum opened this issue 2 years ago • 1 comments

Let's update the ImportExample component to extend glimmer/component instead of ember/component. Glimmer components offer a bunch of various advantages over classic components and are the direction that ember is heading in general.

While we're here, let's also prefer single quotes to double quotes throughout our template file.

Finally, let's make sure that we're using angle bracket syntax rather than curly brace syntax to invoke the component in our tests.

geneukum avatar Jul 20 '22 10:07 geneukum

This should resolve the app/components/import-example.js section of https://github.com/ember-learn/ember-api-docs/issues/805.

geneukum avatar Jul 20 '22 10:07 geneukum