react-native-website icon indicating copy to clipboard operation
react-native-website copied to clipboard

Recommend to use `es2019` and use community driven TS config `@tsconfig/react-native`

Open retyui opened this issue 2 years ago • 1 comments

Issue: #3167

  • Preview: https://deploy-preview-3342--react-native.netlify.app/docs/next/typescript

  • @tsconfig/react-native already recommend es2019 (see: bases/react-native.json#L10)

    • Commit: https://github.com/tsconfig/bases/commit/ff86e2c43c883837a5e07800697be435641a3b1d
  • react-native-template-typescript use by default @tsconfig/react-native (see : template/tsconfig.json#L3

    • PR: https://github.com/react-native-community/react-native-template-typescript/pull/281

retyui avatar Sep 24 '22 09:09 retyui

Deploy Preview for react-native ready!

Name Link
Latest commit 39f1a69761cefa4b562ef3b997eecb7ea0a3bab5
Latest deploy log https://app.netlify.com/sites/react-native/deploys/635d5f251e2d7c0008a81600
Deploy Preview https://deploy-preview-3342--react-native.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

netlify[bot] avatar Sep 24 '22 09:09 netlify[bot]

Should I also edit the versioned files for 0.70, 0.69 docs? @cortinico

retyui avatar Sep 26 '22 13:09 retyui

Should I also edit the versioned files for 0.70, 0.69 docs? @cortinico

@retyui I'm unsure what are the implications of having people use @tsconfig/react-native on 0.70 or 0.69. Are tehre any?

cortinico avatar Oct 03 '22 14:10 cortinico

@cortinico

React Native 0.69.x:

and that iOS version supports all es2019 language features

more: https://retyui.github.io/react-native-compat-table/

retyui avatar Oct 03 '22 14:10 retyui

cc @cortinico

retyui avatar Oct 25 '22 20:10 retyui

Let' udpate also the versioned pages for .69 and .70

cortinico avatar Oct 28 '22 14:10 cortinico

@cortinico done

retyui avatar Oct 29 '22 17:10 retyui