From 100f4e832c021714586821af0d77ef3dbad40298 Mon Sep 17 00:00:00 2001 From: dmhumphrey <112772115+dmhumphrey@users.noreply.github.com> Date: Fri, 23 Sep 2022 12:03:03 -0500 Subject: [PATCH] Update infinite-scrolling.mdx (#117) I was a little confused by the wording and meaning of the first sentence, so I moved the word "that" so that it would make more sense to me. But please make sure that it's correct. I figure there was a typo and wasn't sure what you had wanted it to say, so I just took my best guess. Also, I noticed that in other places, you referred to the virtualization feature as a singular feature, so I changed it to singular here, but feel free to change it back to what you had before. --- .../pages/docs/examples/infinite-scrolling.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/material-react-table-docs/pages/docs/examples/infinite-scrolling.mdx b/material-react-table-docs/pages/docs/examples/infinite-scrolling.mdx index a120988dd..cac4abda1 100644 --- a/material-react-table-docs/pages/docs/examples/infinite-scrolling.mdx +++ b/material-react-table-docs/pages/docs/examples/infinite-scrolling.mdx @@ -19,11 +19,11 @@ import Example from '../../../examples/infinite-scrolling'; ## Infinite Scrolling Example -An infinite scrolling table that is a table streams data from a remote server as the user scrolls down the table. This works great with large datasets, just like our [Virtualized Example](/docs/examples/virtualized), except here we do not fetch all of the data at once upfront. Instead, we just fetch data a little bit at a time, as it becomes necessary. +An infinite scrolling table is a table that streams data from a remote server as the user scrolls down the table. This works great with large datasets, just like our [Virtualized Example](/docs/examples/virtualized), except here we do not fetch all of the data at once upfront. Instead, we just fetch data a little bit at a time, as it becomes necessary. Using a library like [`@tanstack/react-query`](https://tanstack.com/query/v4) makes it easy to implement an infinite scrolling table in Material React Table with the `useInfiniteQuery` hook. -Enabling the virtualization features here are actually optional, but encouraged if the table will be expected to render more than 100 rows at a time. +Enabling the virtualization feature is actually optional here but is encouraged if the table will be expected to render more than 100 rows at a time.