question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

warning for React.PropType

See original GitHub issue

I am getting this warning after adding the component to my project:

Warning: You are manually calling a React.PropTypes validation function for the autoFocus prop on PlacesAutocomplete. This is deprecated and will not work in production with the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.

If you follow instruction in https://fb.me/react-warning-dont-call-proptypes , you can fix this warning that everyone, who is using this library, is getting.

Thank you

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:14 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
bvellekcommented, Apr 18, 2017

@kenny-hibino yeah sure thing! i will try to get to it later today. Thanks for the quick response!

1reaction
hibikencommented, Apr 6, 2017

Big thank you to @goooseman ❤️

Read more comments on GitHub >

github_iconTop Results From Across the Web

Don't Call PropTypes Warning - React
If you are an author of a third party PropTypes library and you let consumers wrap existing React PropTypes, they might start seeing...
Read more >
PropType not giving warning - Stack Overflow
I have two props: text , and num . I am trying to use PropTypes to give a warning if they are not...
Read more >
How to validate React props using PropTypes - LogRocket Blog
Learn how to validate props with React PropTypes, React's internal mechanism for adding type checking to component props.
Read more >
Disable PropType warnings in Jest and React - Code Is Bae
A quick look at how to disable proptype warnings in React and Jest.
Read more >
How to forget about type errors in your React props with ...
With Proptypes, these checks happen at runtime and so are focused on component interaction and debugging. Using prop types in React gives you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found