We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05143b8 commit d864ba3Copy full SHA for d864ba3
docs/1.getting-started/7.state-management.md
@@ -24,7 +24,7 @@ Read more about `useState` composable.
24
25
::warning
26
Never define `const state = ref()` outside of `<script setup>` or `setup()` function.<br>
27
-Such state will be shared across all users visiting your website and can lead to memory leaks!
+For example, doing `export myState = ref({})` would result in state shared across requests on the server and can lead to memory leaks.
28
::
29
30
::tip{icon="i-ph-check-circle-duotone"}
0 commit comments