Vue 3.5, an replace to the favored “progressive” JavaScript framework, emphasizes enhancements to the platform’s reactivity system, for higher efficiency and improved reminiscence utilization.
Vue 3.5, described as a minor launch with no breaking modifications, was introduced September 1. Nevertheless, the discharge features a main refactor of the reactivity system that reinforces efficiency and considerably improves reminiscence utilization (-56%) with no habits modifications, Vue creator Evan You wrote in a weblog submit.
The Vue 3.5 launch additionally resolves stale computed values and hanging reminiscence points brought on by hanging computes throughout SSR (server-side rendering). Moreover, reactivity monitoring has been optimized for big, deeply reactive arrays, making these operations as a lot as 10x sooner in some instances. Reactive props destructure, in the meantime, has been stabilized and now could be enabled by default. Variables destructured from a defineProps
name in <script setup>
now are reactive. This simplifies declaring props with default values, You mentioned.