Skip to content

Conversation

ghost
Copy link

@ghost ghost 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
@ghost ghost 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.

2 participants