Skip to content

Default values applied before watch/computed can read undefined/null value #95

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

Merged
merged 2 commits into from
Aug 18, 2020

Conversation

alex-dunn
Copy link
Contributor

closes #74

Set default values in beforeCreate event so they are non-null for watch & computed functions.
Added tests for state of default values in watch & computed functions.

@foxbenjaminfox foxbenjaminfox merged commit 0d10602 into foxbenjaminfox:master Aug 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

$asnyComputed is undefined in computed property when watcher is called first
2 participants