Using TypeScript for Building Polymorphic React Components

Intermediate

28 Lessons

8h

Certificate of Completion

Extend your knowledge of reusable components to include strongly typed polymorphic components

AI-POWERED

Explanations
Explanations

This course includes

35 Playgrounds
5 Quizzes
23 Illustrations

This course includes

35 Playgrounds
5 Quizzes
23 Illustrations

Course Overview

TypeScript has become the de facto way to build modern web applications. With the rise of design systems and reusable components, building strongly typed polymorphic components is a desirable skill for the modern web engineer. This course provides a bottom-up approach to building strongly typed polymorphic components. You will start with a naive implementation of a polymorphic component and explore its drawbacks. You will then use TypeScript to provide a production-ready component interface. Finally, you’...Show More

TAKEAWAY SKILLS

React.js

React Components

Javascript

What You'll Learn

An understanding of intermediate TypeScript utility types and TypeScript generics

Hands-on experience building polymorphic React components

A working knowledge of strongly typed polymorphism in React

The ability to enforce valid HTML element attributes based on a polymorphic prop

COURSE AUTHOR

How You'll Learn

Hands-on Coding Environments

You don’t get better at swimming by watching others. Coding is no different. Practice as you learn with live code environments inside your browser.

2x Faster Learning — With No Setup

Videos are holding you back. Educative‘s interactive, text-based lessons accelerate learning — no setup, downloads, or alt-tabbing required.

AI-Powered Learning

Learn faster and smarter with adaptive AI tools embedded in every Educative course.

Progress You Can Show

Built-in assessments let you test your skills. Completion certificates let you show them off.

Recommended Courses

BEFORE STARTING THIS COURSE

FOR TEAMS

Interested in this course for your business or team?

Unlock this course (and 1,000+ more) for your entire org with DevPath