Skip to content

Feature: ability to use panzoom with SSR #499

Closed
@maximbukanov

Description

What problem does this feature solve?
This feature solves crashes of next.js (or any other SSR app) on dev & build modes

Describe the solution you'd like
Try to check typeof of window or use exenv's canUseDom utility

Additional context
Here comes the log output of npm run dev inside next.js app
log.txt

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions