Typescript in React: useContext, useReducer, Type assertion

External: Coursera Courses ↗ · Coursera

Open Course on External: Coursera

Free to audit · Opens on External: Coursera

Typescript in React: useContext, useReducer, Type assertion

Coursera · Beginner ·🌐 Frontend Engineering ·5mo ago

Key Takeaways

Demonstrates the use of useContext and useReducer in a Typescript React application

Original Description

By the end of this course you will be able to incorporate state management with useContext and useReducer in a Typescript React application. We will start by revisiting React concepts of useReducer and useContext so we can better focus on the Typescript concepts and behaviours. This course is aimed at developers who are familiar with Typescript and understand the basics and would like to have some more experience, especially using some of the more advanced state management patterns in React. We will recap the React concepts We simplify these concepts and then use repetition to actually use these types in real React components.
AI explanation not available for this lesson yet
This lesson is still being prepared for the AI tutor. In the meantime, explore lessons that are ready.
Browse explainer-ready lessons →

Related Reads

📰
Portfolio Project 2: Digital Diary
Build a multi-page digital diary using HTML5, Tailwind CSS, and JavaScript to practice front-end development skills
Medium · JavaScript
📰
Webpack Explained: How It Works Behind the Scenes and How Vite Replaced It
Learn how Webpack works and why Vite is replacing it for modern web development, and understand the role of build tools in JavaScript applications
Medium · JavaScript
📰
7 Common CSS Mistakes Every Developer Should Avoid
Learn to avoid 7 common CSS mistakes for cleaner, more maintainable code
Medium · Programming
📰
HTML, CSS, and JavaScript Roadmap: Where Every Developer Actually Starts
Learn the fundamentals of HTML, CSS, and JavaScript before moving to frameworks like React to build a strong foundation for a career in web development
Medium · JavaScript
Up next
We've got separation of concerns wrong
General Musings with Kevin Powell
Watch →