The solution for that is to use pagination and fetch the data in blocks (like 10 or 20 elements) on each call, that way you don't over-fetch.
If you slice on your client, you will add more load on your client's browser and you will spend time fetching data you don't even need.
PS: don't use index for your :key, it's counter-productive.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The solution for that is to use pagination and fetch the data in blocks (like 10 or 20 elements) on each call, that way you don't over-fetch.
If you slice on your client, you will add more load on your client's browser and you will spend time fetching data you don't even need.
PS: don't use
index
for your:key
, it's counter-productive.