You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Invariant Violation: Failed exporting HTML for URL / (XYZ): Element type is invalid: expected a string (for built-in components) or a class/ function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
when trying to build website with react-static only to realize react-data-grid is not supporting React 16.
It should be red-text'ed on main readme as first line of text. Damn I'm angry!
Reproduce:
Use react-static
Create any project with react-static create
Add react-data-grid
Use it in any form
Try to run production build (it works in dev build! SIC!) with react-static build
Expected result:
Build works as in development mode
Actual result: react-data-grid is breaking the build silently with error message as above. Removing all instances of react-data-grid useage makes build work again. Note react-static is based on React 16+.
Which version of React JS are you using?
✅ Officially supported ✅
v15.4.x
⚠️ Not officially supported, expect warnings ⚠️
v15.5.x
v15.6.x
☣️ Not officially supported, expect warnings and errors ☣️
v16.x.x!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Which browser are you using?
✅ Officially supported ✅
IE 9 / IE 10 / IE 11
Edge
Chrome
⚠️ Not officially supported, but "should work" ⚠️
Firefox
Safari
I'm submitting a ...
🐛 Bug Report
💡 Feature Request
👋 Need general support? Not sure about how to use React itself, or how to get started with the Grid?
Please do not submit support request here. Instead see
Spent 20+ hours trying to figure out
when trying to build website with
react-static
only to realizereact-data-grid
is not supporting React 16.It should be red-text'ed on main readme as first line of text. Damn I'm angry!
Reproduce:
react-static
react-static create
react-data-grid
react-static build
Expected result:
Build works as in development mode
Actual result:
react-data-grid
is breaking the build silently with error message as above. Removing all instances ofreact-data-grid
useage makes build work again. Notereact-static
is based on React 16+.Which version of React JS are you using?
✅ Officially supported ✅
☣️ Not officially supported, expect warnings and errors ☣️
Which browser are you using?
✅ Officially supported ✅
I'm submitting a ...
The text was updated successfully, but these errors were encountered: