react-virtual-list icon indicating copy to clipboard operation
react-virtual-list copied to clipboard

Best Practices (WIP)

Open developerdizzle opened this issue 7 years ago • 0 comments

Using this space to gather some best practices before incorporating into the official documentation.

  1. Set keys on your list items
  2. mobx devs using observable arrays should call slice on their observables before using as the items prop on the virtual component.
  3. Use initialState for server-side rendering
  4. Override mapVirtualToProps if you prefer to use other style rules (instead of paddingTop), such as translateY
  5. Be aware of the maximum document/element height for each browser

developerdizzle avatar Mar 16 '17 01:03 developerdizzle