Skip to content

How do I disable SSR for a particular route/component? #1891

Open
@zaykhere

Description

@zaykhere

❓Question

So, I have a component which makes use of a package that wants to use window object. Now, window object is undefined (I'm guessing this is due to the fact that window object is not available in server-side).

So, to counter this issue, I'll need to disable SSR for that particular component. The question is, how do I do that?

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