diff --git a/cypress/support/index.ts b/cypress/support/index.ts
index 0df0d3c591..1976b6db94 100644
--- a/cypress/support/index.ts
+++ b/cypress/support/index.ts
@@ -3,7 +3,6 @@ import { mount } from 'cypress/vue'
import { createMemoryHistory, createRouter } from 'vue-router/dist/vue-router.prod.cjs'
import type { RouteRecordRaw } from 'vue-router'
import type { App, ComputedOptions } from 'vue'
-import { BindOncePlugin } from 'vue-bind-once'
import Chainable = Cypress.Chainable
import 'cypress-fail-fast'
// Import Kongponent styles
@@ -38,7 +37,7 @@ Cypress.Commands.add('mount', (component: ComputedOptions, options = {}): Chaina
app.use(options.router)
}
},
- }, BindOncePlugin)
+ })
return mount(component, options)
})
diff --git a/docs/guide/contributing.md b/docs/guide/contributing.md
index 8639dca174..9107bdcf54 100644
--- a/docs/guide/contributing.md
+++ b/docs/guide/contributing.md
@@ -218,23 +218,35 @@ It's essential to choose context-aware and descriptive names. This practice ensu
#### Attributes
-Sometimes you will need to generate a random string to be used as value for various attributes (e.g. accessibility-related attributes like `id`, `for`, `aria-labelledby`, etc.).
+Sometimes you will need to generate a random string to be used as value for various attributes (e.g. accessibility-related attributes like `id`, `for`, `aria-labelledby`, etc.).
-To generate a unique id so that it is safe for SSR, you **must** use the `useUniqueId` composable in your component:
+To generate a unique id so that it is safe for SSR, you **must** use the [`useId` composable](https://vuejs.org/api/composition-api-helpers#useid) in your component:
```html
```
-Then you must use the [`v-bind-once` directive](https://github.com/danielroe/vue-bind-once) to bind the unique id to element attributes (this prevents hydration issues in SSR apps):
+Note that `useId` can only be used at the root of the setup function. If you need a random ID in a template or in any of your component functions (e.g. to give each `key` in a `v-for` loop a unique value), you should use the `getUniqueStringId` helper function:
-```html
-
-
+```vue
+
+