ended3월 23일· 1 sources
The Vue 3 Reactivity Trap: Why Large Datasets Crash Your Browser
Vue 3 반응성의 함정: 대규모 데이터셋이 브라우저를 멈추게 하는 이유
Why it matters
Vue 3's reactivity system uses ES6 Proxies to deeply wrap every object property, which causes severe performance issues with large datasets (e.g., 50,000 items) by creating hundreds of thousands of Proxies that block the main thread and balloon memory usage. The article recommends using shallowRef to opt out of deep reactivity when individual property mutation isn't needed, and markRaw for mixed reactive state, reducing processing time from hundreds of milliseconds to single digits.
1
Sources
+0
24h
—
Growth
181d
Active
Vue 3shallowRefmarkRawES6 Proxyreactivity