Open henriqemalheiros opened 6 years ago
Thanks for reporting this, we will have a look as soon as we can.
@LinusBorg do you have any news about the issue?
I have same issue :(
any news?
It is very sad news that using "nuxt": "2.11.0" I still have the same bug
any news?
I faced the same problem
any news?
why is the problem still not solved?
any news?
any news?
Actually, I don't think this is going to be fixed because both Nuxt2 and Vue2 are EOL already. As far as I know, there is no such thing as component-level cache in Nuxt3.
Version
2.5.17
Reproduction link
https://github.com/henriqemalheiros/vue-ssr-cached-component-css-modules
Steps to reproduce
yarn install
yarn run ssr:build
yarn run ssr:start
http://localhost:8000/
The error is also reproducible in development mode with
yarn run ssr:serve
.What is expected?
The app should render properly, as it rendered before refreshing the page.
What is actually happening?
If you remove the
serverCacheKey
from the cached component and try again, the app renders properly.Originally I thought this was a Nuxt related issue (nuxt/nuxt.js#3868). I then forgot about the issue, since I ditched component caching, but now I was able to find the time to reproduce it with plain Vue.