Skip to content

SSR Async Component Functional = TypeError: Cannot read property 'Ctor' of undefined #7784

Closed
@luisatmaniak

Description

@luisatmaniak

Version

2.5.14

Reproduction link

luisatmaniak/vue-hackernews-2.0@142d1d7

Steps to reproduce

On the server, when rendering a component asynchronously that is also functional, errors are thrown on the console. In this particular repo (vue hacker news 2.0) it fails the first time, but for some reason, it works for a subsequent request. The same thing works just fine if it's done in the browser (non-ssr).

What is expected?

No errors thrown, correct HTML produced on the server.

What is actually happening?

An error is thrown on the console, HTML not produced at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions