Browse documentation

v-keep

Concept. Skips subtree patches while its guard is unchanged.

Table of contents

Category

Concept

Public signature

ts
JSX directive: <element v-keep={guardValue}>

Runtime behavior

v-keep skips patching the vnode subtree while its guard value remains equal to the previous value.