vue icon indicating copy to clipboard operation
vue copied to clipboard

In SSR mode, v-html always rerender

Open AlexBergal opened this issue 2 years ago • 0 comments

Version

2.7.14

Reproduction link

gist.github.com

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

AlexBergal avatar Jan 15 '23 18:01 AlexBergal