Ohans Emmanuel

Sign in

  Laugh

This book will teach you practical intermediate to advanced Typescript in React

Limited free copies

Take the Litmus test

Here's some sample Typescript + React code you'll learn to write in this book:

import React from "react";
type Rainbow = 'union' | 'of' | 'colors'
type PolymorphicRef<C extends React.ElementType> =
React.ComponentPropsWithRef<C>["ref"];
type PolymorphicProp<C extends React.ElementType> = {
as?: C;
};
type PolymorphicComponentProp<
C extends React.ElementType,
ComponentProps = {}
> = React.PropsWithChildren<Props & PolymorphicProp<C>> &
Omit<
React.ComponentPropsWithoutRef<C>,
keyof (PolymorphicProp<C> & P)>;
type PolymorphicComponentPropWithRef<
C extends React.ElementType,
ComponentProps = {}
> = PolymorphicComponentProp<C, ComponentProps> &
{ ref?: PolymorphicRef<C> };
// ... create polymorphic component and type it

If even one single line of code looks confusing to you, then this is the book for you. You should download the book to level up your Typescript in React game now

Don't wait any longer

Written for beginners and mid-level engineers

This book has been carefully written with Typescript beginners in mind. You already know React and some Typescript? Then, this is the perfect book to deepen your understanding of more intermediate and advanced concepts

  • You already know the basics of React
  • You know basic Typescript
  • You are building a design system
  • You don't know intermediate or advanced Typescript
  • You like a practical approach to learning

Not a beginner? Share this page with your network. They'll thank you for it.

Other developers like you loved the content

“It was really informative. Loved how the complex concepts were broken down so It could be understood better” - Angelo

I liked the structure. It started simple and advanced in a progressive manner - Dimitrios

I love Emmanuel’s way of teaching and the amount of information - Adrian

Final call to level up