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

Warning and failed rendering with empty props #864

Closed
CyberAP opened this issue Mar 21, 2020 · 0 comments
Closed

Warning and failed rendering with empty props #864

CyberAP opened this issue Mar 21, 2020 · 0 comments

Comments

@CyberAP
Copy link
Contributor

CyberAP commented Mar 21, 2020

Version

3.0.0-alpha.9

Reproduction link

https://codesandbox.io/s/inspiring-river-jrfkv

Steps to reproduce

  1. Create a component that can accept null value for a prop
  2. Render this component without passing any props to it

What is expected?

Component should render as usual without any warnings.

What is actually happening?

A warning is raised, render may fail in some cases.

[Vue warn]: Property "test" was accessed during render but is not defined on instance. 
  at <Anonymous> "" 
  at <Anonymous> (Root) 
@github-actions github-actions bot locked and limited conversation to collaborators Nov 15, 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

1 participant