-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Cannot read properties of null (reading 'getState') in React v.19.0.0 #738
Comments
Thanks for reporting the issue. I'll put up a PR soon. |
The issue happens on our project, using latest v2.0.19, React 18.3 In Maybe can it be fixed in a way that's more defensive when accessing reduxStore?
|
@zuyetawarmatik, thanks for reporting. That's weird, I'll reopen this issue and take another look. |
@pradeepnschrodinger We use React 18.3 without wrapping in StrictMode. It's also weird to me that
|
@zuyetawarmatik , unfortunately I'm not able to reproduce this 😔.
You mentioned not using StrictMode, but the table still seems to be unmounted. Any chance you can share a link to the project code? Or maybe get a small sandbox running so I can take a look at how FDT is used? |
During running app on React.js v.19.0.0 in development mode and using
React.StrictMode
I get the next error:it happens during unmounting and mounting a component that uses:
Expected Behavior
There are no errors.
Current Behavior
There is an syntax error.
Possible Solution
The broken place is here:
fixed-data-table-2/src/FixedDataTableContainer.js
Line 108 in 23614b4
The cause of this issue is here:
fixed-data-table-2/src/FixedDataTableContainer.js
Line 91 in 23614b4
Steps to Reproduce
Table
element from 'fixed-data-table-2'.Your Environment
The text was updated successfully, but these errors were encountered: