skip to Main Content

How to use javascript insted of typescript?
when ever i create react native app by using npx react-native init ,i get typescript insted of javascript.
any idea guys?

i could not find anything online

2

Answers


  1. Using JavaScript Instead of TypeScript

    React Native defaults new applications to TypeScript, but JavaScript may still be used. Files with a .jsx extension are treated as JavaScript instead of TypeScript, and will not be typechecked. JavaScript modules may still be imported by TypeScript modules, along with the reverse.

    Login or Signup to reply.
  2. Using expo and npx create-expo-appcommand let me to create a react native app with js. For more info click here

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search