Update the note about Vue Router and lazy loading
This is inspired by the change proposed in #1869.
In Vue 2, Vue Router used Async Components for the lazy loading of route components. However, in Vue 3 these are two similar but distinct features. The description in performance.md hasn't taken this separation into account.
The main change is to the paragraph describing the use of lazy loading with Vue Router. This has been updated to reflect the separation between these two features.
I've also tweaked an earlier paragraph to remove the word 'typically'. I think that was a little misleading in a Vue 3 context, as lazy loaded routes are more typical than explicitly using defineAsyncComponent.
Deploy Preview for vuejs ready!
| Name | Link |
|---|---|
| Latest commit | f7ef9d2f7f53e66bca891ff22d3d242c7ae44bc3 |
| Latest deploy log | https://app.netlify.com/sites/vuejs/deploys/62f0e4f6ce9d30000837a3a7 |
| Deploy Preview | https://deploy-preview-1896--vuejs.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.