简体   繁体   中英

React Native Performance: Javascript vs Typescript

Is Javascript or Typescript different in React Native App performance?

Which Javascript or Typescript is recommended for developing React Native application?

I hope my question wasn't too imaginative.

As others have said, typescript is just compiled to javascript. Think of Typescript as a tool like eslint that helps you write better code, just in a different way (forcing object types, etc). There will be no performance change to the user, only difference is in whatever step you do to build your application will now have to have a typescript parser that compiles it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM