Write more readable code with TypeScript 4.4

Control flow analysis of aliased conditions, an exciting new feature shipped with TypeScript 4.4, enables you to write more expressive, readable code.
John Reilly
2 min read

Using TypeScript with React: A tutorial with examples

Using TypeScript with React can increase development speed, improve code readability, and more.
Ogundipe Samuel
8 min read

TypeScript, abstract classes, and constructors

Abstract classes in TypeScript cannot be instantiated directly; only nonabstract subclasses can be. What does this mean for constructor usage?
John Reilly
2 min read

Using styled-components in TypeScript: A tutorial with examples

Here, you can learn how to build and style a TypeScript app using styled-components, with an e-commerce page as an example.
Hafsah Emekoma
13 min read

How to use TypeScript with React 18 alpha

React 18 alpha has just been released, which is an exciting development. But to get it working with TypeScript, you need to make a...
John Reilly
2 min read

Using TypeScript with React Native

An introduction to using TypeScript in React Native apps, including a tutorial and example build for a mobile app
Edmund Ekott
7 min read

Comparing TypeScript and PropTypes in React applications

Understand what PropTypes and TypeScript are, consider their relevance in React applications, and discover how they can be used together.
Dillion Megida
5 min read

What’s new in TypeScript 4.2

Version 4.2 of TypeScript was released in February 2021, with new features, bug fixes, and performance improvements. Find out more here.
Matthew Swensen
2 min read

Simplify GraphQL requests with React Query, GraphQL Code Generator,…

Take advantage of GraphQL on the frontend by automating the creation of TypeScript types and the generation of custom React Query hooks using GraphQL...
Iva Kop
3 min read

Boost your productivity with TypeScript project references

If you have a TypeScript codebase in a monorepo that is not using TypeScript project references then you are missing out on a productivity...
Paul Cowan
3 min read

TypeScript mixins: Examples and use cases

Circumvent class constraints in TypeScript by using mixins, special classes that contain a combination of methods that can be used by other classes.
Emmanuel John
3 min read

Generating and integrating OpenAPI services in a React app

We look at how to integrate an OpenAPI-generated service from the server, then use this generated service across a React TypeScript app.
Olasunkanmi John Ajiboye
8 min read