Skip to content

plotly.js 1.57.0/1.56.0 and react-plotly.js 2.5.0 are not said to be incompatible #210

@silviubogan

Description

@silviubogan

This combination of plotly.js and react-plotly.js seems to be unsupported. I might try with other versions in future too. It would be useful to write about this in some file if it is confirmed.

TypeError
Cannot read property 'document' of undefined

Code Sandbox

https://codesandbox.io/s/nervous-elbakyan-x3i8e?file=/src/App.js

Screenshot

image

Updates

plotly.js 1.56.0 has a similar error:
image

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions