Impersonate Native DOM Elements with React Components and TypeScript for Full Reusability

InstructorShawn Wang

Share this video with your friends

Send Tweet

Individually defining props doesn't scale especially if you are wrapping native DOM elements, for example for the purpose of building up a Design System. Fortunately, there are easy strategies to lend full TypeScript support to your custom React elements, without excessive typing.