The asyncData method lets you handle async operations before setting the component data. It is called every time before loading the component (page components), and can be used to fetch some data and return the component data.

In this video, Erik explains what asyncData is and how the result from asyncData is merged with the data from an app.

Link: