Skip to content

SSR usage and implementation details #296

@benmccann

Description

@benmccann

The readme says the plugin is SSR Friendly, but I was wondering if you could give some more details about that.

Is there anything I would need to do to configure a project to use this plugin with SSR?

I would expect that things like document.createElement would fail on the server since the DOM isn't available to provide document:

'var linkTag = document.createElement("link");',

Is there another code path that gets run on the server?

I have tried looking through past issues for more details, but haven't been able to find out more yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions