currently i used vuex-persistedstate to make the state's persisted when the page are refreshes, but it caused the component inside my layout files rendered after the page are mounted/rendered (i.e if i refreshed the browser the sign in button are flashing into user profile picture in 1s when they are logged in) which is not like wht i expected. the button component are depends on userAuthenticated getters, so i think vuex-persistedstate rehydrating the store when nuxt pages are mounted/rendered.
if theres a way to rehydrate the store without any plugins only with nuxt method that provided, i would know how and why my previous implementation caused a bug? thanks :)) @alexchopin @pi0 @Atinux
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1640">#c1640</a>)</em></sub></div>