Last 12 weeks · 704 commits
6 of 6 standards met
Summary: Move private performance includes out of framework-facing scheduler headers and into their implementation files. Store the conditional CDP reporters behind unique pointers so their declarations can remain private implementation details. Changelog: [Internal] Reviewed By: javache Differential Revision: D116621742
Description I'm developing a react native app using the version 0.71.3 and I'm having some problems with the extremely discussed onEndReached callback. React Native Version 0.71.3 Output of System: OS: macOS 12.6.3 CPU: (4) x64 Intel(R) Core(TM) i5-6267U CPU @ 2.90GHz Memory: 228.86 MB / 8.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 18.14.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 9.5.0 - /usr/local/bin/npm Watchman: Not Found Managers: CocoaPods: 1.12.0 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1 Android SDK: Not Found IDEs: Android Studio: 2021.3 AI-213.7172.25.2113.9123335 Xcode: 14.2/14C18 - /usr/bin/xcodebuild Languages: Java: 17.0.2 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.2.0 => 18.2.0 react-native: 0.71.3 => 0.71.3 react-native-macos: Not Found npmGlobalPackages: react-native*: Not Found Steps to reproduce Here's my re-implementation to prevent the callback to be triggered even if the list is empty and to trigger it only once: And every time the data size changes, the endReached is set to false again: And then the list: `` Now the problem arise when loading the list for the first time, the onEndReached callback is triggered even if the list is empty and once the list is populated, downloading items asynchronously, and reach the end the callback it's not triggered. But if the list data area cached, the second time I load the list the onEndReached is not triggered at the beginning but on the right way. It seems that the error, or I think the bug, arise when the list is empty because data are loading, indeed if I set a condition to render the list only after the data are fully loaded, the onEndReached is trigged correctly.
Summary: Move private performance includes out of framework-facing scheduler headers and into their implementation files. Store the conditional CDP reporters behind unique pointers so their declarations can remain private implementation details. Changelog: [Internal] Reviewed By: javache Differential Revision: D116621742
Description I'm designing a third-party library and encountering a very strange issue. On the Android side, I've created a Fragment where the View displays normally, but the TextView doesn't show up initially. However, it immediately displays properly if I modify the component's width. AI tools haven't been able to figure out the reason either. Steps to reproduce 1.git pull https://github.com/zkteco-home/react-native-fragment.git 2.cd example 3.yarn install 4.yarn android React Native Version 0.81.0 Affected Platforms Runtime - Android Output of Stacktrace or Logs MANDATORY Reproducer https://github.com/zkteco-home/react-native-fragment.git Screenshots and Videos 1.just started
Repository: react/react-native. Description: A framework for building native applications using React Stars: 126408, Forks: 25234. Primary language: C++. Languages: C++ (35%), Kotlin (21.8%), JavaScript (19.4%), Objective-C++ (9.9%), Objective-C (5.6%). License: MIT. Homepage: https://reactnative.dev Topics: android, app-framework, cross-platform, ios, mobile, mobile-development, react, react-native. Latest release: v0.87.0 (1w ago). Open PRs: 100, open issues: 989. Last activity: 6h ago. Community health: 75%. Top contributors: mdvacca, cortinico, shergin, javache, sammy-SC, RSNara, rubennorte, cipolleschi, NickGerleman, JoshuaGross and others.