chore: upgrade react native (#2356)

This commit is contained in:
Aman Harwara
2023-07-14 01:44:07 +05:30
committed by GitHub
parent 6ed5d44b2f
commit 2b1a0d4e43
173 changed files with 1178 additions and 1053 deletions

View File

@@ -35,16 +35,6 @@
#endif
}
/// This method controls whether the `concurrentRoot`feature of React18 is turned on or off.
///
/// @see: https://reactjs.org/blog/2022/03/29/react-v18.html
/// @note: This requires to be rendering on Fabric (i.e. on the New Architecture).
/// @return: `true` if the `concurrentRoot` feature is enabled. Otherwise, it returns `false`.
- (BOOL)concurrentRootEnabled
{
return true;
}
- (void)disableUrlCache {
// Disable NSURLCache for general network requests. Caches are not protected by NSFileProtectionComplete.
// Disabling, or implementing a custom subclass are only two solutions. https://stackoverflow.com/questions/27933387/nsurlcache-and-data-protection