Home > OS >  Whenever I try to create New React Native APP using npx react-native init APP_NAME command it create
Whenever I try to create New React Native APP using npx react-native init APP_NAME command it create

Time:01-17

Whenever I try to create New React Native APP using npx react-native init APP_NAME command it creates a typescript instead of a javascript project

I want to create a JS project instead of TSX.

CodePudding user response:

You just replace app.tsx with app.js

CodePudding user response:

That's because of in the new react-native project by default typescript is supported look at this.

Read Using JavaScript Instead of TypeScript

You can just rename your files extension .tsx to .jsx

  • Related