Data flow between preFetch and Setup in composition API. #16321
Unanswered
Matman94
asked this question in
CLI - SSR mode
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
How does this data flow work in the end?
I have this code:
component:
store/dealsStore.js
The first time I run the app from scratch using the command:
quasar dev -m ssr
, the code in PreFetch runs and is displayed in the developer console:what's the response: {any response}
.But despite everything, computed with details does not run, it does not see that the state has changed. Why?
And the second thing is, do you have to restart the application every time, but the code in preFetch has been executed? The second time I reload the page, it no longer displays the response in the console...
Beta Was this translation helpful? Give feedback.
All reactions