DEV Community

Matt Ruiz
Matt Ruiz

Posted on

Getting started with TypeScript and React Native

Hola hola,

Using TypeScript in your React Native (RN) projects can seem like a daunting task - and it definitely can be. I would recommend experimenting/practicing in a fresh RN project before updating your production app to TypeScript.

Getting Started

Here is a fresh repo created using the the command found here.

JSX

One good thing about this endeavor is that our JSX (the stuff between the return ()) won't change much.

Normal JavaScript Component


Enter fullscreen mode Exit fullscreen mode

Top comments (0)