Repository navigation
Conversation
Base commit: 586de42 |
javache
left a comment
There was a problem hiding this comment.
Per the docs, prepareInitialProps is a method that's supposed to be overwritten (although confusing that we have two ways do it - we also have the initialProps property...)
Maybe a better fix would be to change RCTAppDelegate.m to always override this property consistently, outside of prepareInitialProps.
cipolleschi
left a comment
There was a problem hiding this comment.
Wow, very well spotted. Thank you for this fix!
|
@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
@javache @cipolleschi Thanks for the review, should I need to update the commit like below? |
|
Oh sorry, I haven't seen the @javache review. @zhongwuzw I think that the best way would be in the
So, if in the future we have to add other prop to the Thoughts? |
|
@cipolleschi Done, please review again. |
|
@javache Done. please review again, thanks! |
…/fix_rntester_concurrentroot
|
@javache Done. Also update commit to fix the bridgeless mode. |
|
@javache has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
@javache has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
@javache has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
This pull request was successfully merged by @zhongwuzw in b1e92d6. When will my fix make it into a release? | Upcoming Releases |
Summary: RNTester's `AppDelegate` override `prepareInitialProps` method of super class `RCTAppDelegate` https://github.com/facebook/react-native/blob/70acd3f7d9edae9e40cc4603bede9778da281a85/packages/react-native/Libraries/AppDelegate/RCTAppDelegate.mm#L152, so we missed `concurrentRoot` initial prop.  cc javache cipolleschi [IOS] [FIXED] - RNTester enable concurrent root when using Fabric Pull Request resolved: #41166 Test Plan: Warning disappear. Reviewed By: cipolleschi Differential Revision: D50596693 Pulled By: javache fbshipit-source-id: d73a17cd137b3088405f86b739cb0ed7b5a9839e
Summary:
RNTester's
AppDelegateoverrideprepareInitialPropsmethod of super classRCTAppDelegatehttps://github.com/facebook/react-native/blob/70acd3f7d9edae9e40cc4603bede9778da281a85/packages/react-native/Libraries/AppDelegate/RCTAppDelegate.mm#L152, so we missedconcurrentRootinitial prop.cc @javache @cipolleschi
Changelog:
[IOS] [FIXED] - RNTester enable concurrent root when using Fabric
Test Plan:
Warning disappear.