docs
docs copied to clipboard
Factory functions for default values are optional
There's no more error and types also allow for directly passing objects as the default value.
Description of Problem
In Vue2 passing objects as a default would cause an error message in the logs. This message is gone now and the type system also seems to allow passing objects directly. At the same time the docs still claim that a factory function must be used.
Proposed Solution
Update documentation to match the current state.
Additional Information
I have no knowledge about the implication of using a factory function or not. Would just be nice if docs and type hints / warnings matched.
Deploy Preview for vuejs ready!
| Name | Link |
|---|---|
| Latest commit | 5fa5912245564a4ae43f05d3bee9e13904bbe375 |
| Latest deploy log | https://app.netlify.com/projects/vuejs/deploys/68a825a66b9ca00008f48b99 |
| Deploy Preview | https://deploy-preview-3282--vuejs.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify project configuration.