Skip to content

React-resize-layout does not work in Server Side rendering deployment #3

@vladp

Description

@vladp

Due to a long-time issue with Hammer-Js (see hammerjs/hammer.js#1060), this library does not work in SSR style deployments. Is this something that could be addressed, or no plans?

(react-resize-layout is correctly using Hammer JS (only in didMount and didUnmount methods), however because of how Hammer JS does its exports, the global 'window' variable still being relied on, during the server-side import/export initialization. And that's causing the problem.

thank you

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