Job description
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.