-
Notifications
You must be signed in to change notification settings - Fork 168
React Native 0.66 Update #1809
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React Native 0.66 Update #1809
Conversation
"This is not meant to be merged as it currently stands." I think we should make this a Draft PR if it's not meant to be merged and there's a lot of work left (just so the intent is clear). |
packages/theming/win32-theme/src/NativeModule/getThemingModule.native.ts
Outdated
Show resolved
Hide resolved
If you're feeling fancy, you could update it so that every package.json has an rnx-kit config and future version upgrades are a simple one-line |
@rurikoaraki Yeah I think we should, I tested the onPressIn/Out prop and it works on all platform. I've added it, thanks! |
… updated react for notification
Minor note: |
This PR causes this issue where Shadow is unable to pass the Jest tests due to an error "Invariant Violation: __fbBatchedBridgeConfig is not set, cannot invoke native modules" |
Nabil - great job here! We're really close to being ready to merge and this was a large cross-platform ask. I think we have some cool stories to tell about it and I've been really impressed with how diligently you've worked through all the tricky platform unique issues. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are good to merge this!
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Platforms Impacted
This PR is based on the changes from #1511
Platform Status
Cannot redefine non-configurable property
. However, after updating everything to RN 0.66, I haven't gotten that error at all.Description of Changes
These are just changes I've made to get further through the build process. This is just to help everyone be aware of some changes that have occurred between RN 0.64 and RN 0.66.
General
packages/utils/adapters/src/adapters
For RN 0.66 Typescript, two new props on
TextProps
have been added calledonPressIn
andonPressOut
.Windows
packages/theming/theming-utils/src/getCurrentAppearance.windows.ts
Removed
!AppTheme.isAvailable
, causes a type error.Win32
packages/theming/win32-theme/src/NativeModule/getThemingModule.native.ts
Removed declaring TurboModuleRegistry in a react native module.
Verification
(how the change was tested, including both manual and automated tests)
Pull request checklist
This PR has considered (when applicable):