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
Add way to use virtualization with list controls #215
Comments
To get this to work completely with you being able to define list items in JS we would need Fabric support. In other words, to do this today you need to do contortions. There will be a better way in the future, but the future is much further out. Creative ways on the RNXaml side: Maybe we can extend ListView with a prop that lets you customize the list items by calling into JS. Which would be similar to hosting each item with its own React root view. Definitely many caveats about any path here. It'd best be tailored to the exact needs of this list. This should be possible with a data |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. |
Commenting to ensure this doesn't get closed. We have a meeting to discuss this on Thursday. |
Room for a better sample on the standard RN path for this. Opened this: microsoft/react-native-gallery#264 |
Summary
There should be a way to virtualize lists so items that aren't visible can be realized at a later time.
Motivation
Rendering a ListView with many items can take a long time preventing smooth transitions. React Native has VirtualizedList for virtualization, and Xaml supports virtualization on ListView by default, so we should have a way to do it with React Native Xaml.
Basic Example
No response
Open Questions
No response
The text was updated successfully, but these errors were encountered: