Skip to content

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

guides/release/tutorial/part-1/orientation.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,11 +220,12 @@ Build successful (9761ms)
220220

221221
Slowest Nodes (totalTime >= 5%) | Total (avg)
222222
-+-
223-
Babel: @embroider/macros (1) | 406ms
223+
Babel: @embroider/macros (1) | 398ms
224+
Babel: ember-tracked-storage-polyfill (1) | 25ms
224225

225226

226227

227-
VITE v7.1.12 ready in 3849 ms
228+
VITE v7.1.12 ready in 3923 ms
228229

229230
➜ Local: http://localhost:4200/
230231
```

guides/release/tutorial/part-1/reusable-components.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,11 @@ Build successful (13286ms)
101101

102102
Slowest Nodes (totalTime >= 5%) | Total (avg)
103103
-+-
104-
Babel: @embroider/macros (1) | 397ms
104+
Babel: @embroider/macros (1) | 423ms
105105

106106

107107

108-
VITE v7.1.12 ready in 3786 ms
108+
VITE v7.1.12 ready in 3850 ms
109109

110110
➜ Local: http://localhost:4200/
111111
```

guides/release/tutorial/part-1/working-with-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ Awesome! Now we're in business.
418418

419419
## Loops and Local Variables in Templates with `{{#each}}`
420420

421-
The last change we'll need to make is to our `index.hbs` route template, where we invoke our `<Rental>` components. Previously, we were passing in `@rental` as `@model` to our components. However, `@model` is no longer a single object, but rather, an array! So, we'll need to change this template to account for that.
421+
The last change we'll need to make is to our `index.gjs` route template, where we invoke our `<Rental>` components. Previously, we were passing in `@rental` as `@model` to our components. However, `@model` is no longer a single object, but rather, an array! So, we'll need to change this template to account for that.
422422

423423
Let's see how.
424424

guides/release/tutorial/part-2/provider-components.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- Heads up! This is a generated file, do not edit directly. You can find the source at https://github.com/ember-learn/super-rentals-tutorial/blob/master/src/markdown/tutorial/part-2/12-provider-components.md -->
22

3-
In this chapter, we'll work on adding a new search feature, and refactor our `index.hbs` template into a new component along the way. We'll learn about a new pattern for passing data around between components, too! Once we're done, our page will look like this:
3+
In this chapter, we'll work on adding a new search feature, and refactor our `index.gjs` template into a new component along the way. We'll learn about a new pattern for passing data around between components, too! Once we're done, our page will look like this:
44

55
<!-- TODO: make this a gif instead -->
66

@@ -58,7 +58,7 @@ Awesome, one step done. Now, this input looks great, but it doesn't actually _do
5858

5959
In order to make our search box actually work, we are going to need to retain and store the text that the user types in when they use the search box. This text is the search query, and it is a piece of _[state](../../../components/component-state-and-actions/)_ that is going to change whenever the user types something into the search box.
6060

61-
But where are we going to put this newly-introduced piece of state? In order to wire up the search box, we need a place to store the search query. At the moment, our search box lives on the `index.hbs` route template, which doesn't have a good place to store this search query state. Darn, this would be so much easier to do if we had a component, because we could just store the state directly on the component!
61+
But where are we going to put this newly-introduced piece of state? In order to wire up the search box, we need a place to store the search query. At the moment, our search box lives on the `index.gjs` route template, which doesn't have a good place to store this search query state. Darn, this would be so much easier to do if we had a component, because we could just store the state directly on the component!
6262

6363
Wait...why don't we just refactor the search box into a component? Once we do that, this will all be a bit easier—hooray!
6464

0 commit comments

Comments
 (0)