Browse Source

Fix typo in optimizing-performance (#3746)

Remove spelling error from "recommended" to "recommend".
main
Sam Chillcott 4 years ago
committed by GitHub
parent
commit
07e58b4b5f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      content/docs/optimizing-performance.md

2
content/docs/optimizing-performance.md

@ -180,7 +180,7 @@ If you haven't yet installed the React DevTools, you can find them here:
## Virtualize Long Lists {#virtualize-long-lists}
If your application renders long lists of data (hundreds or thousands of rows), we recommended using a technique known as "windowing". This technique only renders a small subset of your rows at any given time, and can dramatically reduce the time it takes to re-render the components as well as the number of DOM nodes created.
If your application renders long lists of data (hundreds or thousands of rows), we recommend using a technique known as "windowing". This technique only renders a small subset of your rows at any given time, and can dramatically reduce the time it takes to re-render the components as well as the number of DOM nodes created.
[react-window](https://react-window.now.sh/) and [react-virtualized](https://bvaughn.github.io/react-virtualized/) are popular windowing libraries. They provide several reusable components for displaying lists, grids, and tabular data. You can also create your own windowing component, like [Twitter did](https://medium.com/@paularmstrong/twitter-lite-and-high-performance-react-progressive-web-apps-at-scale-d28a00e780a3), if you want something more tailored to your application's specific use case.

Loading…
Cancel
Save