Skip to content

TypeError: Cannot read properties of null (reading 'useContext') #3788

Closed
@leeoniya

Description

@leeoniya

Describe the bug

I created a react-data-grid-builds repo to test the latest commits here before you officially publish the next beta.

I simply run npm run build, then npm pack and commit the contents of the archive to the repo. I then use it like "react-data-grid": "leeoniya/react-data-grid-builds#c589d2c7a0794e66536b2edaf61174d6d5a22513",

I tried to upgrade react-data-grid this way in my grafana PR/branch and got the error below, which i do not see with latest published beta.

Image

To Reproduce

Expected behavior

no crash

Link to Minimal Reproducible Example

Environment

  • react-data-grid version: 720a253
  • react/react-dom version: 18.3.1

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions