Open abhinavkumar940 opened 5 years ago
Having the same issue.. anyone knows what causes this problem?
Try to update to the latest version. I bet you installed with npm i --save react-griddle@beta
(don't use beta). And use npm i --save react-griddle
.
The reason is the propType, which was part of react core. And then in newer versions (which pretty old now) it was moved to it's own package.
Here captures to illustrate that.
old:
new:
The capture show the transpiled code.
Check the doc if it's not clear! https://reactjs.org/docs/typechecking-with-proptypes.html
Griddle version
1.0.0
Expected Behavior
Render data table
Actual Behavior
Throws error
Steps to reproduce
Just followed the getting started example from
http://griddlegriddle.github.io/Griddle/docs/
Error details
My Code