useState
This example showcase the useState
composable, an SSR-friendly ref replacement.
Its value will be preserved after server-side rendering and shared across all components using a unique key.
Learn more about useState.
Read more in Docs > API > Composables > Use State.
Read more in Docs > Getting Started > State Management.