roylee0704 / react-flexbox-grid

A set of React components implementing flexboxgrid with the power of CSS Modules.
http://roylee0704.github.io/react-flexbox-grid/
2.93k stars 205 forks source link

Next.js Conflicts with CSS, PropTypes. #182

Open jsnavarroc opened 3 years ago

jsnavarroc commented 3 years ago

A solution was given for this problem as we can see in the issue roylee0704 / react-flexbox-grid # 173 (comment) However, it keeps getting a warning when implementing the library in NextJS, this warning is the following

react-jsx-runtime.development.js:117 Warning: Failed prop type: Calling PropTypes validators directly is not supported by the prop-types package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types.

Which indicates that it is not a good solution for this problem, any other proposal?

msaracevic commented 2 years ago

Would also be nice to have example of how it should be included in next.js in documentation, some of us are locked into using it and it is fairly commonly used.