B
B
bpGusar2019-03-22 12:39:32
JavaScript
bpGusar, 2019-03-22 12:39:32

What is the best performance way to implement a list that can have more than 10k elements?

The project has a list to which elements are added through a cycle, there can be a lot of them.
This list should be presented on the page, but if you make it in the form of ul li or put elements in the form of a list or in a textarea in a div, then after about 4k elements the page starts to lag a lot, it is difficult to interact with the rest of the page elements.
How can such a list be implemented but that it would have a minimal impact on performance?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Igor, 2019-03-22
@bpGusar

See how react-virtualized can do at least 1000000 without lags.

D
Denis Melnikov, 2019-03-22
@Mi11er

Loading, pagination...

A
Anton Spirin, 2019-03-22
@rockon404

Optimizing Performance: Virtualize Long Lists

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question