fix(runtime-vapor): pass plain object props to createVNode during vdom interop#13382
fix(runtime-vapor): pass plain object props to createVNode during vdom interop#13382edison1105 merged 3 commits intominorfrom
Conversation
✅ Deploy Preview for vapor-repl ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
@vue/compiler-core
@vue/compiler-dom
@vue/compiler-sfc
@vue/compiler-ssr
@vue/compiler-vapor
@vue/reactivity
@vue/runtime-core
@vue/runtime-dom
@vue/runtime-vapor
@vue/server-renderer
@vue/shared
vue
@vue/compat
commit: |
9477b91 to
398c16f
Compare
| const vnode = createVNode( | ||
| component, | ||
| rawProps && new Proxy(rawProps, rawPropsProxyHandlers), | ||
| rawProps && extend({}, new Proxy(rawProps, rawPropsProxyHandlers)), |
There was a problem hiding this comment.
Pass a plain object instead of a Proxy one
There was a problem hiding this comment.
Another solution is to add a set trap to rawPropsProxyHandlers
Size ReportBundles
Usages
|
❌ Deploy Preview for vue-sfc-playground failed. Why did it fail? →
|
0016c11 to
ae09cce
Compare
TypeError: Cannot redefine property: classoccurredPlayground with this PR