-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Fabric is not The effect on Android FlatList #33943
Comments
Could you share you repro? |
|
@cortinico the repo url:https://github.com/bozaigao/FabircFlatListDemo, On Android I just set the newArchEnabled true and used the FlatList to render the long list |
@cortinico What causes this problem? Frames should not drop when rendering synchronously with fabric,Or am I not configured somewhere? |
Hello @bozaigao, to clarify, you expect synchronous rendering to prevent white patches from appearing in flat list, is that correct? If that's the case, that behaviour has not been implemented yet. FlatList, nor any other place in React Native, does not leverage synchronous rendering yet. The new architecture is an important milestone towards synchronous rendering but the capability is not in production at the moment. I'm going to close this issue as the behaviour you are seeing is expected. Let me know if you have questions. |
When will synchronous rendering be implemented? |
hey, some parts of it are already in the codebase, for example https://github.com/facebook/react-native/blob/main/Libraries/Components/TextInput/TextInput.js#L741 we haven't settled on how to bring synchronous rendering to React Native yet and are still iterating on it. It is challenging to make it performant and backwards compatible at the same time and evaluating what the options are. |
Description
When I turned on the Fabric switch on the Android terminal, I used the FlatList to render the long list of data, and the rendering was blank and the frame was dropped when I slid quickly
1654074005778559.mp4
Version
0.68.2
Output of
npx react-native info
use RN 0.68.2
Steps to reproduce
use RN 0.68.2
Snack, code example, screenshot, or link to a repository
use RN 0.68.2
The text was updated successfully, but these errors were encountered: