effectScope (createSharedComposable) and Cross-request state pollution (SSR) #8237
Unanswered
dev-abota
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
TLDR: Is
createSharedComposable
vulnerable tocross-request state pollution
onNUXT SSR
?Been reading the docs on
cross-request state pollution
https://vuejs.org/guide/scaling-up/ssr.html#cross-request-state-pollution
They state that this example
https://vuejs.org/guide/scaling-up/state-management.html#simple-state-management-with-reactivity-api
is vulnerable to
cross-request state pollution
onSSR
.I've been using
createSharedComposable
which is described in this RFChttps://github.com/vuejs/rfcs/blob/master/active-rfcs/0041-reactivity-effect-scope.md
Can anyone tell me if this
createSharedComposable
is vulnerable tocross-request state pollution
onSSR
?If the answer is
yes
, this should be clearly stated in the@vueuse
docshttps://vueuse.org/shared/createSharedComposable/
mainly because
vueuse
is advertised asReally hoping to get an answer on this 🙏
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions