Cleanup is not only an unmount hook — it runs before every re-run of the effect, which is what makes a subscription with changing dependencies correct. The ordering…
A watcher that runs immediately and assigns to another ref is deriving a value, which is what computed is for and does better. The computed version tracks its…
A composable holding its state in a reactive object cannot return it directly, because every caller destructures the result and loses reactivity doing so. toRefs creates a ref…
A major version whose entire purpose is to let two versions run on one page. And an event delegation change that breaks anything mixing React with jQuery.
5.6 completed a jQuery upgrade that had been staged over three releases, and the removals in 3.5 break code that has worked since 2011. The migrate shim is…
4.1 in November lets a type be built from string literals, which turns a naming convention into something the compiler enforces. The intrinsic helpers — Capitalize, Uppercase and…
The && chain it replaces short-circuits on every falsy value, and optional chaining stops only for null and undefined. The numeric field case is where the old pattern…
Native lazy loading covers images and iframes. Anything else that should happen when an element becomes visible still needs the observer — and it is the right tool.…
Two features with similar names solve different problems, and reaching for the wrong one produces either a class that does nothing or a duplicate block. A style is…
5 shipped the ability for one bundle to load modules from another at runtime, which is genuinely novel and solves a problem most applications do not have. The…