-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,9 +6,9 @@ In this lesson we'll be going over the basics of React components - what they do | |
|
||
This section contains a general overview of topics that you will learn in this lesson. | ||
|
||
- What are components? | ||
- How are components created? | ||
- Where do components live? | ||
- Learn about Reach components. | ||
- Understand how to create Components. | ||
Check failure on line 10 in react/getting_started_with_react/react_components.md GitHub Actions / Lint lesson filesTrailing spaces
|
||
- Find where do components reside in a React project. | ||
Check failure on line 11 in react/getting_started_with_react/react_components.md GitHub Actions / Lint lesson filesTrailing spaces
|
||
|
||
### What are components? | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ This section contains a general overview of topics that you will learn in this l | |
|
||
- Understand what React is | ||
Check failure on line 9 in react/introduction/introduction_to_react.md GitHub Actions / Lint lesson filesLesson overview items must be statements, not questions, and must begin with a capital letter and end with a period.
|
||
|
||
### What is React? | ||
### Get familiar with React and its key features. | ||
Check failure on line 11 in react/introduction/introduction_to_react.md GitHub Actions / Lint lesson filesTrailing punctuation in heading
|
||
|
||
According to the [React](https://react.dev/) website, React is "The library for web and native interfaces." However, let's break this down a bit further. | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,13 +6,12 @@ Up until this point in the curriculum, we have been building one-page applicatio | |
|
||
This section contains a general overview of topics that you will learn in this lesson. | ||
|
||
- What is client-side routing? | ||
- How do you use React Router to do client-side routing? | ||
- How do you create nested and dynamic paths? | ||
- How do you add a "catch-all" route? | ||
- How do you pass data from a parent to any child components rendered via an outlet? | ||
- How do you add protected routes? | ||
|
||
- Understand what client-side routing is. | ||
- Learn how to use React Router for client-side routing. | ||
- Explore how to create nested and dynamic paths in React Router. | ||
- Discover how to add a 'catch-all' route in React Router. | ||
- Learn how to pass data from a parent component to any child components rendered via an outlet. | ||
- Understand how to implement protected routes in React Router. | ||
Check failure on line 14 in react/the_react_ecosystem/react_router.md GitHub Actions / Lint lesson filesLists should be surrounded by blank lines
|
||
### Client-side routing | ||
Check failure on line 15 in react/the_react_ecosystem/react_router.md GitHub Actions / Lint lesson filesHeadings should be surrounded by blank lines
|
||
|
||
Client-side routing is the type of routing where JavaScript takes over the duty of handling the routes in an application. Client-side routing helps in building single-page applications (SPAs) without refreshing as the user navigates. For example, when a user clicks a navbar element, the URL changes and the view of the page is modified accordingly, within the client. | ||
|