From 7dc5c6f809d95730f949b311228feef56dd9ec6e Mon Sep 17 00:00:00 2001 From: Thad Guidry Date: Fri, 18 Feb 2022 09:11:33 -0600 Subject: [PATCH] Improve clarity of 2 files to edit and improve learning While going through the tutorial, I didn't notice the 2nd file to edit in the tutorial or the way that Svelte directly uses a component and by this point in the tutorial had forgot what exactly components themselves are at this stage. Repetition is the key to reinforcement learning, so let's repeat what components are at this critical point of learning. This fixes all 3 issues and importantly reaffirms what components are. --- .../01-introduction/05-nested-components/text.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/site/content/tutorial/01-introduction/05-nested-components/text.md b/site/content/tutorial/01-introduction/05-nested-components/text.md index 078413cc92..e4fd035a60 100644 --- a/site/content/tutorial/01-introduction/05-nested-components/text.md +++ b/site/content/tutorial/01-introduction/05-nested-components/text.md @@ -2,9 +2,13 @@ title: Nested components --- -It would be impractical to put your entire app in a single component. Instead, we can import components from other files and include them as though we were including elements. +It would be impractical to put your entire app in a single component. Instead, we can import components from other files and then use them as though we were including elements. -Add a ` ``` -...then add it to the markup: +...then add the component `Nested` to use it in the app markup: ```html

This is a paragraph.