I was new to react native and i want to create the react native project with JavaScript, but whenever i create a project with react native 0.71, not the expo... it gets created with typescript, is there any way we can change it to JavaScript?
CodePudding user response:
React-Native now ships with TypeScript automatically with version 0.71.
I highly recommend using TypeScript though, since it can make programming react-native projects more pleasant and has many advantages.
However, if you want to stay on JavaScript, you can convert the pre-created components to .js
instead of .tsx
and remove all types used.