Skip to content

Commit 03ca8d3

Browse files
Handle Large Data Sets
1 parent 8c9c307 commit 03ca8d3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

react.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2512,3 +2512,16 @@ function App() {
25122512
</Suspense>
25132513
)
25142514
}
2515+
2516+
2517+
2518+
// HANDLE LARGE DATA SETS
2519+
2520+
// with pagination (annoying nav buttons)
2521+
// -> x elements per page rendered and navigation to previous and next pages
2522+
2523+
// or with infinite scroll (better ui but user can feel lost and cannot share a certain 'page')
2524+
// -> x elements added to the rendered list once scrolled to bottom
2525+
2526+
// or with windowing (height and positionning constraints and bad HTML semantics)
2527+
// -> x elements are rendered from the whole list once scrolled; the rest is unrendered

0 commit comments

Comments
 (0)