Performance Option, renderTriggered, and renderTracked
Learn how to examine the performance of the application.
We'll cover the following...
We'll cover the following...
Performance option
If we want to examine our application’s performance, we can enable component init, compile, render and patch performance tracing by enabling the performance config.
This option is available in both Vue 2 and Vue 3 and can be enabled, as shown below.
Vue.config.performance = true
Enabling the performance config in Vue 2
The renderTriggered and renderTracked hooks
Vue 3 offers two new lifecycle hooks called renderTriggered and renderTracked. These can be used while debugging ...