-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
0.14.6 - Calling PropTypes validators directly is no longer support #584
Comments
I haven't seen this warning. Can you track it down? |
Having no luck on narrowing it down to a single cause, but removing propTypes for both |
I have a similar warning:
it seems to be related to the use of react package-lock.json (react part):
|
I just installed react-grid-library and am now getting the same warnings as @tjamet with React 15.6.1 |
Started to see these again with 0.15... seems like all of the |
Update your dependencies; react-resizable and react-draggable have been updated to eliminate this. |
I don't think this has anything to do with react-resizable or react-draggable.
The transpiled * import iterates over the module and causes the getter to be triggered:
(And yes, I did a fresh install with updated deps. Didn't help.) |
Ah yes, and we are still doing import *. Will fix. |
|
Unfortunately, seems like there are still some import *'s left |
Agh, I must have mistyped something when I grepped. Thanks.
On Sep 5, 2017 8:35 AM, "larpo" <notifications@github.com> wrote:
Unfortunately, seems like there are still some import *'s left
https://github.com/STRML/react-grid-layout/search?l=
JSX&q=import+%2A+as+React+from+%27react%27&type=&utf8=✓
<https://github.com/STRML/react-grid-layout/search?l=JSX&q=import+%2A+as+React+from+%27react%27&type=&utf8=%E2%9C%93>
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#584 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABJFPyEHEmCBPdYw5D8tB-ks2iXfrGBpks5sfU4MgaJpZM4OILC0>
.
|
Unfortunately this happens when doing This warning goes away in React 16. |
Warning: Failed propType: 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 Check the render method of `ReactGridLayout`.
I've seen some related issues but nothing updated/fully related to this specific issue. I was wondering if there is any move on fixing this?
Thanks.
The text was updated successfully, but these errors were encountered: