Accessing previous data
during next data()
hook
#1822
-
Hello, great work on the recent updates! One issue I'm running into is in regards to the
What happens now is that the initial SSR load correctly runs For the rest of my app, my workaround is to store everything in my own ContextProvider, effectively wrapping the useData hook. However, this doesn't solve the problem that Is there a way to access the last state of |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
I presume you've seen https://vike.dev/pageContext.json#avoid-pagecontext-json-requests? The |
Beta Was this translation helpful? Give feedback.
Also, in case you didn't see it already: https://vike.dev/guard#execution-order.