React.js - native examples of react and other libraries for optimizing array searches

post an offer

Settle at least one deal via useme to enable the posting of multiple versions of offers (e.g. cheaper and more expensive).


Let's assume we have a very large array. This array also contains other arrays, including large ones.

It may take several tens of seconds to go through this.

I would like:

- code that creates such an array for testing. And a demonstration with react dev tools that the query takes this long

- then use e.g. react memo, and show with example code how going through a given array is faster

- the same with some other memoization tools, with sample code so that the "junior" person could easily understand and test it

- each example is to be described and finally the tools are compared.



Required functions:

Offers (1)

Offer visible to Employer