Initializing data using nuxtjs asyncData hook slows page rendering

Viewed 102

Loading data from within the asyncData hook using $axios causes a slight delay when loading the page. I want a natural and fast page movement like when loading data using mounted hook, but I can't use mounted because of SEO.
Is there any solution?

1 Answers

You could use the non blocking fetch() hook, seems like the perfect solution in your case.

Related