Back to Browse

Problem solving - Virtual DOM tree mismatch between client and server

1.6K views
Jan 30, 2020
6:19

We fix the routing issues faced in the last lesson - https://youtu.be/19A4Rm-0vA0 Errors - 1. The client-side rendered virtual DOM tree is not matching server-rendered content. 2. Image of undefined I explain the reasons for these errors and how to solve them. We use two approaches one using client side navigation to fix not fetching the character ( image of undefined) but this doesn't fix error 1 To fix both the errors we learn about asyncData a Nuxt life cycle hook this fixes the client-side rendered virtual DOM tree is not matching server-rendered content error Become a patron - https://www.patreon.com/doingiteasychannel Follow me on Twitter https://twitter.com/Uthpala_419

Download

0 formats

No download links available.

Problem solving - Virtual DOM tree mismatch between client and server | NatokHD