We fix the routing issues faced in the last lesson - • Persisting data in MongoDB using mong...
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 - / doingiteasychannel
Follow me on Twitter / uthpala_419
En esta página del sitio puede ver el video en línea Problem solving - Virtual DOM tree mismatch between client and server de Duración hora minuto segunda en buena calidad , que subió el usuario Uthpala Heenatigala 30 enero 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 1,537 veces y le gustó 23 a los espectadores. Disfruta viendo!