Skip to content

Commit 07f6e75

Browse files
authored
add egghead course to docs (#3829)
1 parent 568680d commit 07f6e75

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

docs/rtk-query/overview.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,18 @@ RTK Query is **an optional addon included in the Redux Toolkit package**, and it
2626

2727
To learn how to use RTK Query, see the full ["Redux Essentials" tutorial](https://redux.js.org/tutorials/essentials/part-7-rtk-query-basics) on the Redux core docs site.
2828

29+
If you prefer a video course, you can [watch this RTK Query video course by Lenz Weber-Tronic, the creator of RTK Query, for free at Egghead](https://egghead.io/courses/rtk-query-basics-query-endpoints-data-flow-and-typescript-57ea3c43?af=7pnhj6) or take a look at the first lesson right here:
30+
31+
<div style={{position:"relative",paddingTop:"56.25%"}}>
32+
<iframe
33+
src="https://app.egghead.io/lessons/redux-course-introduction-and-application-walk-through-for-rtk-query-basics/embed?af=7pnhj6"
34+
title="RTK Query Video course at Egghead: Course Introduction and Application Walk through for RTK Query Basics"
35+
frameborder="0"
36+
allowfullscreen
37+
style={{position:"absolute",top:0,left:0,width:"100%",height:"100%"}}
38+
></iframe>
39+
</div>
40+
2941
:::
3042

3143
## Motivation
@@ -160,7 +172,7 @@ export default function App() {
160172
const { data, error, isLoading } = useGetPokemonByNameQuery('bulbasaur')
161173
// Individual hooks are also accessible under the generated endpoints:
162174
// const { data, error, isLoading } = pokemonApi.endpoints.getPokemonByName.useQuery('bulbasaur')
163-
175+
164176
// render UI based on data and loading state
165177
}
166178
```

docs/tutorials/overview.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,20 @@ The RTK [**Usage Guide** docs page](../usage/usage-guide.md) explains the standa
6262

6363
The [Redux Essentials tutorial](https://redux.js.org/tutorials/essentials/part-1-overview-concepts) also shows how to use each of the APIs while building an application.
6464

65+
## RTK Query Video Course
66+
67+
If you prefer a video course, you can [watch this RTK Query video course by Lenz Weber-Tronic, the creator of RTK Query, for free at Egghead](https://egghead.io/courses/rtk-query-basics-query-endpoints-data-flow-and-typescript-57ea3c43?af=7pnhj6) or take a look at the first lesson right here:
68+
69+
<div style={{position:"relative",paddingTop:"56.25%"}}>
70+
<iframe
71+
src="https://app.egghead.io/lessons/redux-course-introduction-and-application-walk-through-for-rtk-query-basics/embed?af=7pnhj6"
72+
title="RTK Query Video course at Egghead: Course Introduction and Application Walk through for RTK Query Basics"
73+
frameborder="0"
74+
allowfullscreen
75+
style={{position:"absolute",top:0,left:0,width:"100%",height:"100%"}}
76+
></iframe>
77+
</div>
78+
6579
## Migrating Vanilla Redux to Redux Toolkit
6680

6781
If you already know Redux and just want to know how to migrate an existing application to use Redux Toolkit, the [**"Modern Redux with Redux Toolkit" page in the Redux Fundamentals tutorial**](https://redux.js.org/tutorials/fundamentals/part-8-modern-redux) shows how RTK's APIs simplify Redux usage patterns and how to handle that migration.

0 commit comments

Comments
 (0)