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
CodePudding user response:
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.
CodePudding user response:
Using expo and npx create-expo-app
command let me to create a react native app with js. For more info click here