Skip to content

Commit cfe0e73

Browse files
authored
Merge pull request #1077 from ANordmoe/patch-1
Update 1046-template-tag-in-routes.md
2 parents c249bed + 7a8ec31 commit cfe0e73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

text/1046-template-tag-in-routes.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ suite: Leave as is
3232

3333
## Summary
3434

35-
Allow `app/templates/*.hbs` to convert to `app/temlates/*.gjs`.
35+
Allow `app/templates/*.hbs` to convert to `app/templates/*.gjs`.
3636

3737
## Motivation
3838

@@ -161,7 +161,7 @@ No new typescript-specific features are required. If you're authoring route temp
161161

162162
This RFC was directly inspired by a first attempt at updating the Guides for Template Tag. It became immediately apparent that we can write _much_ clearer guides if we can teach all GJS, instead of a mix of GJS and HBS.
163163

164-
Starting at https://guides.emberjs.com/release/components/ when the first `application.hbs` file is introduced, we would use `.gjs` instead. In those opening examples that are empahsizing HTML, the only change to the content would be wrapping `<template></template>` around the HTML.
164+
Starting at https://guides.emberjs.com/release/components/ when the first `application.hbs` file is introduced, we would use `.gjs` instead. In those opening examples that are emphasizing HTML, the only change to the content would be wrapping `<template></template>` around the HTML.
165165

166166
Progressing to https://guides.emberjs.com/release/components/introducing-components/, learners extract their first component. It now becomes possible to do that within the same file. This allows teaching fewer things in a single step. First, people can learn what a component is. Second, it can be refactored into a separate file. We can avoid teaching anything about "pascal case" and naming rules, because everything just follows javascript naming rules.
167167

0 commit comments

Comments
 (0)