DEV Community

Matt Ruiz
Matt Ruiz

Posted on

4 2

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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay