-
-
Notifications
You must be signed in to change notification settings - Fork 174
Closed
Labels
bugSomething isn't workingSomething isn't workingstaleThere has been no additional replies or questions and the thread is assumed closedThere has been no additional replies or questions and the thread is assumed closed
Description
Describe the bug
If component id is not explicitly specified, it is generated using Math.random(), which leads to hydration errors:
Hydration attribute mismatch on <input id="__BVID__921175___BV_form-check__" class="form-check-input" type="checkbox">
- rendered on server: id="__BVID__921175___BV_form-check__"
- expected on client: id="__BVID__935395___BV_form-check__"
Solution: use the bootstrap-vue strategy. If the component id is not specified, leave it empty during SSR and generate it onMounted.
Reproduction
Used Package Manager
pnpm
Validations
- Have tested with the latest version. This is still alpha version and sometime things change rapidly.
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingstaleThere has been no additional replies or questions and the thread is assumed closedThere has been no additional replies or questions and the thread is assumed closed