6.9.0 causes an "Invariant Violation" error
See original GitHub issueDescribe the bug
Using Cell: props => props.value
causes an Invariant Violation error in version 6.9.0.
To Reproduce
-
I started with the original “Simple Table Demo” from https://codesandbox.io/s/x6nplxprw?from-embed
-
That demo uses
"6.7.0-alpha-0"
from package.json -
If I try to use
Cell: props => props.value
it continues to display the values, see this sandbox: https://codesandbox.io/s/pww0nk31r7 -
However if I upgrade to
"react-table": "6.9.0"
it results in the error, see sandbox: https://codesandbox.io/s/484zn1xmw7
Expected behavior Following semantic versioning, a MINOR version from 6.7.x to 6.9.x should not break functionality.
Codesandbox! See above.
Screenshots See codesandbox: https://codesandbox.io/s/484zn1xmw7
Desktop (please complete the following information):
- OS: MacOS 10.12.6
- Browser chrome
- Version 71
Smartphone (please complete the following information): NA
Additional context
Our project has "react-table": "^6.8.6",
in package.json, so in 6.8 it was working as intended, but when the change was made 3 days ago in 6.9.0 it stopped working. I expect this to be the case in many more projects that follow a similar upgrade pattern from package.json
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:6
Still the issue persists, version - 6.10.0
Unfortunately still having this issue in 6.9.2.