vue
vue copied to clipboard
In SSR mode, v-html always rerender
Version
2.7.14
Reproduction link
Steps to reproduce
app.vue
<template lang="html">
<div>
<div v-html="content"></div>
</div>
</template>
<script>
export default {
data () {
return {
content: '<p>hello</p>'
}
}
}
</script>
What is expected?
do not re-render component
What is actually happening?
component re-render with same content
Used with Quasar
- mode.......... ssr
- Pkg quasar........ v1.22.5
- Pkg @quasar/app... v2.4.3