-
Notifications
You must be signed in to change notification settings - Fork 290
Open
Labels
Description
During running app on React.js v.19.0.0 in development mode and using React.StrictMode I get the next error:
TypeError: Cannot read properties of null (reading 'getState')
it happens during unmounting and mounting a component that uses:
import {Table, Column} from 'fixed-data-table-2';
Expected Behavior
There are no errors.
Current Behavior
There is an syntax error.
Possible Solution
The broken place is here:
| ...this.reduxStore.getState(), |
The cause of this issue is here:
| this.reduxStore = null; |
Steps to Reproduce
- Run app with React v.19.0.0 in development mode with wrapper:
<React.StrictMode>
{...}
</React.StrictMode>
- Use any custom component which uses
Tableelement from 'fixed-data-table-2'.
Your Environment
- Version used: 2.0.17
- Browser Name and version: Chrome Version 131.0.6778.85 (Official Build) (64-bit)
- Operating System and version (desktop or mobile): Fedora 6.11.9-100.fc39.x86_64