If you are a programmer learning Typescript. You might want to get started building your web-app using React.js and Typescript.

1. If you wish to work on a web-app from the very beginning then you basically have to follow the below command and create your new react-app with a Typescript template.

npx create-react-app my-app --template typescript# or,yarn create react-app my-app --template typescript// (PS: Either use npm or yarn)

2. However, if you want to migrate the old react app into typescript.

a. Install typescript and its types on your existing project.

npm install --save typescript @types/node @types/react @types/react-dom @types/jest# oryarn add typescript @types/node @types/react @types/react-dom @types/jest// (PS: Either use npm or yarn as per your package manager)
// for example
All your react component file extension from (.js -> .tsx)

As an android developer, you might have come across different ways of creating a navigation menu in android apps. This article will walk you through steps for creating a smooth scrollable navigation menu in android applications using recycler view and SnapHelper.

In the end, we will create a similar navigation menu as below.

If your app has only 3 or 4 navigation menu buttons then you don’t have to worry as it fits on your user's screen. …

Shiva Tiwari

Mobile App Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store