Vue · Senior · Question 71 of 75

Why can a reactive array of 50,000 objects make filtering slow, and what helps?

Explanation

Read-only data rarely needs deep reactivity. markRaw objects or shallowRef cut overhead dramatically.

Further reading

Problem with a question

Vue · Senior · question 71

Test yourself

Take the Vue · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz