Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot render dynamic component with props #962

Closed
sionzee opened this issue Apr 14, 2020 · 1 comment
Closed

Cannot render dynamic component with props #962

sionzee opened this issue Apr 14, 2020 · 1 comment

Comments

@sionzee
Copy link

sionzee commented Apr 14, 2020

Version

3.0.0-alpha.12

Reproduction link

https://jsfiddle.net/u4709jto/2/

Steps to reproduce

Click Run and open console.

What is expected?

To render dynamic component with the value of test prop

What is actually happening?

TypeError: 'get' on proxy: property '_n' is a read-only and non-configurable data property on the proxy target but the proxy did not return its actual value (expected '[object Array]' but got '[object Object]')
@yyx990803
Copy link
Member

See the commit - in your case, it's recommended to use shallowRef instead (which doesn't make its value reactive)

@github-actions github-actions bot locked and limited conversation to collaborators Nov 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants