I
I
IvanIvanIvanIvanIvan2019-03-02 09:12:18
JavaScript
IvanIvanIvanIvanIvan, 2019-03-02 09:12:18

Is it ok to sort large arrays on the client side?

The question is simple. Is it normal to sort an array of, say, 5000 objects on the client side using React or React Native?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Laud, 2019-03-02
@IvanIvanIvanIvanIvan

If it doesn't block the interface, it's fine. If it blocks for at least a slightly noticeable period of time, you should think about sorting on the server side or in a separate thread (worker).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question