react-data-grid icon indicating copy to clipboard operation
react-data-grid copied to clipboard

N.current is Null

Open mexgui opened this issue 3 years ago • 0 comments

Describe the bug

After created atlassian forge (react) app, using your basic demo on App () function adding to return <DataGrid rows... the atlasian installed app displays TypeErrror N.current is null. I believe this is related to REACT 17 combatibility.

To Reproduce

  1. Log in to Atlasian.net
  2. Install forge
  3. forge create -> app name -> your atlasian url
  4. Edit App.js add there simple DataGrid demo
  5. npm run build
  6. root -> forge deploy
  7. forge install Link to code exampl https://codepaste.xyz/posts/auGebsU3s4rXNJk8dGZw

Expected behavior

display basic datagrid table on atlassian site app

Environment

  • react-data-grid version: latest npm
  • react/react-dom version: latest npm

Additional context

When running app at atlassian the datagrid makes uncaught TypeErrors : N.current is null

Uncaught TypeError: N.current is null useContext React K DataGridDefaultComponentsProvider.ts:11 it DataGrid.tsx:247 React 12 <anonymous> index.js:7 <anonymous> index.js:11 <anonymous> index.js:11 react.production.min.js:24:100

mexgui avatar Nov 13 '22 11:11 mexgui