-
-
Notifications
You must be signed in to change notification settings - Fork 9k
Closed as not planned
Closed as not planned
Copy link
Labels
🍰 p2-nice-to-havePriority 2: this is not breaking anything but nice to have it addressed.Priority 2: this is not breaking anything but nice to have it addressed.scope: ssr
Description
Vue version
3.2.25
Link to minimal reproduction
https://stackblitz.com/edit/github-nevztk?file=src/pages/Home.vue
Steps to reproduce
- Create isRed boolean reactive value using script setup
- Set css class conditionally based on the value of isRed
- Change the value of isRed in the onBeforeMount hook from false to true
What is expected?
- DOM node text value is updated to true
- .red class is applied to a DOM node
What is actually happening?
- DOM node text value is updated to true
- .red class is NOT applied to a DOM node
System Info
System:
OS: Linux 5.0 undefined
CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 0 Bytes / 0 Bytes
Shell: 1.0 - /bin/jsh
Binaries:
Node: 16.14.2 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 7.17.0 - /usr/local/bin/npm
npmPackages:
vue: ^3.2.25 => 3.2.47Any additional comments?
When using onMounted hook issue is not present
lorenzo-lungo, dan-sarich, sredeker, wadeua, wadeV12 and 2 more
Metadata
Metadata
Assignees
Labels
🍰 p2-nice-to-havePriority 2: this is not breaking anything but nice to have it addressed.Priority 2: this is not breaking anything but nice to have it addressed.scope: ssr