isCompatEnabled,
warnDeprecation,
} from './compat/compatConfig'
+import { shallowReadonly } from '@vue/reactivity'
/**
* dev only flag to track whether $attrs was used during render.
vnode,
proxy,
withProxy,
- props,
propsOptions: [propsOptions],
slots,
attrs,
ctx,
inheritAttrs,
} = instance
+ const props = __DEV__ ? shallowReadonly(instance.props) : instance.props
+ const prev = setCurrentRenderingInstance(instance)
let result
let fallthroughAttrs
- const prev = setCurrentRenderingInstance(instance)
if (__DEV__) {
accessedAttrs = false
}