-
Notifications
You must be signed in to change notification settings - Fork 283
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
improved progressive rendering #93
Conversation
@@ -14,7 +14,7 @@ Check out [the Vault project](https://vault.shopify.io/projects/22845) to learn | |||
|
|||
### Adding a package to your project | |||
|
|||
Add the package to your project via `yarn add @shopify/recycler-flat-list recyclerlistview@3.1.0-beta.3`, and run pod install in the `ios` directory. | |||
Add the package to your project via `yarn add @shopify/recycler-flat-list recyclerlistview@3.1.0-beta.4`, and run pod install in the `ios` directory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will need to be changed here, too.
Generally, let's do search and replace when upgrading recyclerlistview
to make sure we don't miss anything. We can also point to the microsite for installation instructions instead, so this information is not duplicated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it, updated all
@@ -26,7 +26,7 @@ | |||
"@babel/runtime": "*", | |||
"react": "*", | |||
"react-native": "*", | |||
"recyclerlistview": "3.1.0-beta.3" | |||
"recyclerlistview": "3.1.0-beta.4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be updated in devDependencies
, too
@fortmarek I've updated the PR. Can you approve this? |
Found an improvement to reduce content on first load: Flipkart/recyclerlistview#688
Renamed renderAheadOffset to drawDistance. Issue with using renderAheadOffset (which is RLV prop) is that it overrides some of the progressive rendering behaviour.
After these changes list will only draw whatever in visible in screen area on first load.