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
Typo/bug in Vue 3.3 release blog post #19
Comments
I think it might be
// with props object
const props = defineProps(['foo'])
useComposable(() => props.foo)
// with destructure
const { foo } = defineProps(['foo'])
useComposable(() => foo) |
Interesting then why they put this as an example of the usage of the |
To show how this becomes a consolidated pattern. You can read more about the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think in line 240 in the Vue 3.3 blog post there is a typo.
It reads:
useFeature(() => props.foo)
It should say:
useFeature(toValue(() => props.foo))
The text was updated successfully, but these errors were encountered: