Articles
Latest
More
Newsletter Sponsorship Discord About
Sign up for our Newsletter
The video for this lesson is currently being updated, please read the transcript instead.
Advanced Vue 2 - Vuex & SSR > Lesson 54

Vuex state hydration

There is one little problem that we've got which I'm going to show you now.

What I want to do is in our web.entry, before we actually mount our app to the DOM, I'm

going to create a set timeout and let's just make it say two seconds, and so once the page

loads, we wait two seconds, then we mount to the DOM.

I'll show you why.

So if we now refresh, see how it takes two seconds for our events to show up.

So let's just go look in our DOM for a second,


Back to course page

Click to load comments...

Articles
  • Latest
Newsletter
  • Join
  • Sponsorship
More
  • Discord
  • Vue.js jobs
  • About

Vue.js Developers © 2021. View our privacy policy .

  • RSS
  • |
  • Atom