Skip to content

Conversation

@leotm
Copy link
Contributor

@leotm leotm commented Jun 28, 2022

Kinda follow-up to

As @retyui pointed out 🙏 our new minimal iOS version for RN 0.69 is 12.4

We've updated our template too now

I bumped our Hermes podspec earlier as well

Unless there's reason to keep our current recommended TSConfig base pre-0.69 (iOS 11)

cc @radko93 @orta @cortinico

nit: May be worth considering extending this instead in our RN TS template, like we do in our ESLint @react-native-community ruleset - I don't mind creating a PR

As @retyui pointed out our new minimal iOS version for RN 0.69 is 12.4
- react-native-community/react-native-template-typescript#275
  - facebook/react-native@982ca30

We've updated our template too now
- react-native-community/react-native-template-typescript#276

I bumped our Hermes podspec earlier as well
- facebook/react-native#33939
  - facebook/react-native@f56d701

Unless there's reason to keep our recommended TSConfig base pre-0.69
@orta
Copy link
Member

orta commented Jun 28, 2022

Yeah, I think this makes sense to me for the base. 👍🏻

Switch RN to use this could be a good call too - then projects only have the tsconfig options for their unique needs in their tsconfig

@leotm
Copy link
Contributor Author

leotm commented Jun 30, 2022

cool made the PR ^ also considering react-native-community/react-native-template-typescript#281 (comment) as follow-up

hopefully we're good to merge 👍

leotm added a commit to leotm/react-native-template-new-architecture that referenced this pull request Jun 30, 2022
@leotm leotm changed the title Update es2017 to es2019 Update es2017 to es2019 in React Native base Jun 30, 2022
@orta orta merged commit 7138a77 into tsconfig:main Jun 30, 2022
@orta
Copy link
Member

orta commented Jun 30, 2022

Agree

radko93 pushed a commit to react-native-community/react-native-template-typescript that referenced this pull request Jun 30, 2022
* Add TODO

* Add devdep @tsconfig/react-native v2

* Extend recommended React Native TSConfig base

* Doc recommended React Native TSConfig base

* Remove tsc --init comments now that we're extending

* Remove es2019 lib override

- merged in tsconfig/bases#116
- now in https://github.com/tsconfig/bases/blob/main/bases/react-native.json
- no longer needed since extended

* Remove forceConsistentCasingInFileNames override

- merged in tsconfig/bases#118
- now in https://github.com/tsconfig/bases/blob/main/bases/react-native.json
- no longer needed since extended
yardcooper pushed a commit to yardcooper/react-native-template that referenced this pull request May 1, 2023
* Add TODO

* Add devdep @tsconfig/react-native v2

* Extend recommended React Native TSConfig base

* Doc recommended React Native TSConfig base

* Remove tsc --init comments now that we're extending

* Remove es2019 lib override

- merged in tsconfig/bases#116
- now in https://github.com/tsconfig/bases/blob/main/bases/react-native.json
- no longer needed since extended

* Remove forceConsistentCasingInFileNames override

- merged in tsconfig/bases#118
- now in https://github.com/tsconfig/bases/blob/main/bases/react-native.json
- no longer needed since extended
J534-spec added a commit to J534-spec/react-native-template-typescript that referenced this pull request Oct 8, 2025
* Add TODO

* Add devdep @tsconfig/react-native v2

* Extend recommended React Native TSConfig base

* Doc recommended React Native TSConfig base

* Remove tsc --init comments now that we're extending

* Remove es2019 lib override

- merged in tsconfig/bases#116
- now in https://github.com/tsconfig/bases/blob/main/bases/react-native.json
- no longer needed since extended

* Remove forceConsistentCasingInFileNames override

- merged in tsconfig/bases#118
- now in https://github.com/tsconfig/bases/blob/main/bases/react-native.json
- no longer needed since extended
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants