Tree Shaking

Learn how the support for tree shaking has been improved to give us smaller bundles.

Improvement in the tree shaking

Vue 3 has much better support for tree shakingTree shaking is a process that removes dead code or eliminates code that’s not in use. because its global and internal APIs were restructured. As a result, some global APIs and components can be imported directly from the Vue package. For example, the nextTickVue.js has updated the virtual DOM based on the data change, but before the browser has displayed that change on the page, nextTick allows us to run code. method or the Transition componentVue offers a transition wrapper component that lets us implement entering/leaving transitions for any ...

Get hands-on with 1400+ tech skills courses.