-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Closed
Description
What problem does this feature solve?
Currently props validation only issues a warning in non production environment.
I was trying to create a component like react's error-boundary to handle invalid props and show fallback componentsusing errorCaptured
but it is unfortunately not possible.
What does the proposed API look like?
something like a callback to be called when validating props
Vue.config.assertPropsHandler: Function;
Metadata
Metadata
Assignees
Labels
No labels