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 loading spinner component to glimmer #813

Merged
merged 4 commits into from
Nov 18, 2022
Merged

Update loading spinner component to glimmer #813

merged 4 commits into from
Nov 18, 2022

Conversation

geneukum
Copy link
Contributor

@geneukum geneukum commented Jul 23, 2022

Let's update the LoadingSpinner 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.

This should resolve the app/components/loading-spinner.js section of #805.

Let's update the LoadingSpinner 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 to use single quotes throughout the loading-spinner
template file as our Prettier config will attempt this conversion upon
save anyway.
Let's prefer angle bracket syntax to curly syntax when invoking the
LoadingSpinner component in our integration tests.
@chriskrycho chriskrycho merged commit ad22166 into ember-learn:master Nov 18, 2022
@geneukum geneukum deleted the update-loading-spinner-component-to-glimmer branch November 19, 2022 00:00
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.

None yet

2 participants