// also works when nested inside other reactive objects constbar = reactive({ foo }) console.log(isReactive(bar.foo)) // false
Warning:markRaw() together with the shallow APIs such as
() allow you to selectively opt-out of the default
deep reactive/readonly conversion and embed raw, non-proxied objects in your
state graph.
Marks an object so that it will never be converted to a proxy. Returns the object itself.
Example
Warning:
markRaw()
together with the shallow APIs such as () allow you to selectively opt-out of the default deep reactive/readonly conversion and embed raw, non-proxied objects in your state graph.See
https://vuejs.org/api/reactivity-advanced.html#markraw