![]() ![]() This is a tradeoff that can be adjusted to suit the needs of each application, and we are working on improving it behind the scenes. This means it's possible to scroll faster than the fill rate and momentarily see blank content. In order to constrain memory and enable smooth scrolling, content is rendered asynchronously offscreen. ![]() This includes the data prop and parent component state. extraData) that is not = after updates, otherwise your UI may not update on changes. Make sure that everything your renderItem function depends on is passed as a prop (e.g. This is a PureComponent which means that it will not re-render if props remain shallow-equal.Make sure all your data is captured in the item data or external stores like Flux, Redux, or Relay. Internal state is not preserved when content scrolls out of the render window.This is a convenience wrapper around, and thus inherits its props (as well as those of ) that aren't explicitly listed here, along with the following caveats: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |