Skip to content

$apollo undefined in SSR #852

Closed
Closed
@dsanders11

Description

@dsanders11

Describe the bug
After c3b840c, any usage of $apollo (such as $apollo.queries.<query>.loading) in templates will result in an error. This is because $apollo will now be null.

@Akryum, is it possible to retain the memory leak fix in c3b840c by only destroying $apollo, without it being set to null?

Versions
vue: 2.6.10
vue-apollo: 3.0.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions