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

update 1.0.0-beta.7 ssr renderComponent computed error #464

Closed
panhezeng opened this issue Aug 7, 2020 · 2 comments · Fixed by #465
Closed

update 1.0.0-beta.7 ssr renderComponent computed error #464

panhezeng opened this issue Aug 7, 2020 · 2 comments · Fixed by #465

Comments

@panhezeng
Copy link

TypeError: Cannot read property 'constructor' of undefined
at getVueInternalClasses (/node_modules/@vue/composition-api/dist/vue-composition-api.common.js:171:50)
at computed (/node_modules/@vue/composition-api/dist/vue-composition-api.common.js:1034:18)
at setup (

// to get Watcher class
var Watcher = vm._computedWatchers.value.constructor;

ssr renderComponent
go back 1.0.0-beta.6 no error

@pikax
Copy link
Member

pikax commented Aug 7, 2020

Most likely caused by #452

Can you provide a reproducible repo?

Is this only when SSR?

@danielroe
Copy link
Member

shaonialife added a commit to shaonialife/composition-api that referenced this issue Aug 7, 2020
@shaonialife shaonialife mentioned this issue Aug 7, 2020
@antfu antfu closed this as completed in #465 Aug 7, 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 a pull request may close this issue.

3 participants