4.48
1355 reviews
Typescript with modern React (i.e. hooks, context, suspense)
Adding typescript to a modern react project with hooks (useState, useContext, useEffect) and code splitting with lazy.
- Description
- Curriculum
- FAQ
- Reviews
In this course you will learn how to add typescript to a create-react-app project as well as adding it to a react project from scratch with webpack and babel. You will learn a bit about react hooks, (useState, useContext, useReducer and useEffect), in a react typescript project as well as using suspense to lazy load a component. We will also attempt to recreate redux, (or the redux principles) with useReducer and Context.
This course is at an intermediate/advance level and assumes you have used React and Redux before, however you don’t need to know any typescript for this.
Getting set up with Typescript in React
Project 1: Simple todo list
-
4What is typescript and why use itVideo lesson
-
5Adding typescript to create-react-appVideo lesson
-
6Adding typescript to react with babel and webpackVideo lesson
-
7Adding typescript to react with babel and webpack part 2Video lesson
-
8Quick look into a type definition file (optional)Video lesson
Project 2: Favourite Rick and Morty episode picker
Final words
-
13A run-through of react context (optional)Video lesson
-
14Introduction to the Redux principlesVideo lesson
-
15The useReducer hook (optional)Video lesson
-
16Creating our reducerVideo lesson
-
17Before the next videoText lesson
-
18Creating an actionVideo lesson
-
19Showing our store dataVideo lesson
-
20Adding a favourites buttonVideo lesson
-
21Removing favouritesVideo lesson
-
22Lazy loading our episodesVideo lesson
-
23Routing with Reach RouterVideo lesson
-
24Creating a file for our actionsVideo lesson
-
25Final bits of polishVideo lesson
How long do I have access to the course materials?
You can view and review the lecture materials indefinitely, like an on-demand channel.
Can I take my courses with me wherever I go?
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!

Share
30-Day Money-Back Guarantee
Course details
Video
3 hours
Lectures
2
Full lifetime access
Access on mobile and TV
Popular courses
External Links May Contain Affiliate Links read more