Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update import example component to glimmer #808

Merged
merged 4 commits into from
Nov 18, 2022
Merged

Update import example component to glimmer #808

merged 4 commits into from
Nov 18, 2022

Conversation

geneukum
Copy link
Contributor

@geneukum geneukum commented Jul 20, 2022

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.

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.
Let's prefer single quotes to double quotes throughout our template file.
@geneukum
Copy link
Contributor Author

This should resolve the app/components/import-example.js section of #805.

Let's prefer to use angle bracket syntax rather than curly brace syntax
in our tests which create an ImportExample component.
@chriskrycho chriskrycho merged commit 5d71de4 into ember-learn:master Nov 18, 2022
@geneukum geneukum deleted the update-import-example-component-to-glimmer branch November 18, 2022 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants