Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/api/composition-api-helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,6 @@

Если у вас есть несколько экземпляров Vue-приложения для одной и той же страницы, вы можете избежать конфликтов идентификаторов, задав каждому приложению свой ID-префикс через [`app.config.idPrefix`](/api/application#app-config-idprefix).

:::warning Caution
`useId()` should not be called inside a `computed()` property as it may cause instance conflicts. Instead, declare the ID outside of `computed()` and reference it within the computed function.
:::Используйте осторожно
Не вызывайте `useId()` внутри `computed()` — это может вызвать конфликты экземпляров. Лучше объявите идентификатор за пределами `computed()`, а затем используйте его в теле вычисляемого свойства.
:::