Posts about TypeScript

Building App With React, TypeScript, and Parcel

Learn how to use Parcel – a JavaScript bundler to help you build a React app without any configuration.

How To Use Framer Motion With React, TypeScript and StyledComponents?

As you already know, Framer Motion is a really powerful animation library for React. Now it’s time to start using it. Here are some basics. How to start with Framer Motion To start with Framer Motion for React you have to install the right package: npm yarn Next step is to import posed from react-pose […]

Generics in Typescript – Typing Reusable Parts of Code

Introduction to Generic Typing in TypeScript If you follow the DRY rule in writing your code in Typescript, the Generic Types are for you! Thanks to Generic Types you can easily create reusable functions, interfaces or classes instead of writing single types for each one. Generics allow you to use different types of providing parameters […]

React TL;DR Recap. Top React Content From 2019

All React + TypeScript Cheatsheets The Basic Cheatsheet (/README.md) is focused on helping React devs just start using TS in React apps The Advanced Cheatsheet (/ADVANCED.md) helps show and explain advanced usage of generic types for people writing reusable type utilities/functions/render prop/higher ordercomponents and TS+React libraries. The Migrating Cheatsheet (/MIGRATING.md) helps collate advice for incrementally […]

3 Benefits of Using TypeScript in React Project

Many times I’ve been asked about the benefits of suing TypeScript in React projects, and this is why I decided to take the three most important ones, and share it with you. TypeScript has grown significantly over the past two years. In the first quarter of 2019, it became one of the fastest growing languages […]