Closed b-bika closed 2 weeks ago
With vue 3.5 we can specify deep: 1
to only update when an item is replaced, this should shave off 1.4 million iterations in your example.
@KaelWD Hello. Can you provide a code sample with a workaround for this? I also have a large dataset.
Environment
Vuetify Version: 3.4.1 Last working version: 3.4.0 Vue Version: 3.4.27 Browsers: Google Chrome, Mozilla Firefox OS: Windows
Steps to reproduce
Expected behavior
Should work smooth in newer versions
Actual behavior
Lagginess
Reproduction Link
vuetify playground
Other comments
My array is pretty big - 100k items and I don't expect the items to change. I came across this discussion and it makes me wonder if this is the cause of the autocomplete becoming slower in 3.4.1. If so, is there a way to disable the deep watching of the items? I tried wrapping the items I pass non-reactive via
shallowRef
&markRaw
but none had any effect