Styling React Components with CSS and TypeScript

2021-03-17 React

In this post, we are going to take a look on how to add CSS styling to React Components with TypeScript. Our teacher Amir shows you how to structure your components and how to type your props, so that you won’t run into error TS2739. There will be also an introduction to CSS Modules.

Continue reading →

Rendering multiple elements in React

2021-02-28 React

In the second episode of Amir’s “React with TypeScript“ course you will learn how to render multiple elements in React. Amir also shows you how to create a TypeScript interface which helps you to specify known properties of your objects.

Continue reading →

React with TypeScript for Beginners

2021-02-22 React

It’s 2021 and TypeScript’s support for React apps improved by a lot. If you are new to TypeScript and React, you can learn from Amir Ghezelbash how to develop your first React app. In his tutorials, Amir starts from scratch and shows you on a weekly basis how to improve your React and TypeScript skills.

Continue reading →

Upgrade to React Router v6

2021-01-02 React

React Router Version 6 is great for TypeScript programmers because it ships with type definitions. Another great feature is the useRoutes hook, which simplifies routing setups in your functional React components. You can also render child components by using the new Outlet API.

Continue reading →

Setup Webpack HMR with NestJS and React

2020-12-21 React

Programmatically setup a Nest.JS server with Webpack’s Hot Module Replacement (HMR) to host a React web application.

Continue reading →

Setup Webpack HMR with Express server and React

2020-12-20 React

Programmatically setup an Express server with Webpack’s Hot Module Replacement (HMR) to host a React web application.

Continue reading →

Use React with TypeScript

2020-12-16 React

React and TypeScript are a great team because TypeScript supports the JSX syntax. This tutorial will show you code examples on how to type your React web application, so that you can benefit from strong typing in your UI components.

Continue reading →