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.

PropTypes not fully fixed

See original GitHub issue

There’s still reference to PropTypes being pulled from the ‘react’ package instead of the prop-types package. Mainly on the develop folder. Like: https://github.com/istarkov/google-map-react/blob/2ec7048ab22e9118f020c048580fd416304bb41e/develop/GMap.js#L1

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
jaredpalmercommented, Oct 13, 2017

This is blocking our React 16 upgrade . 😢

0reactions
lock[bot]commented, Dec 1, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix "PropTypes" issue? - reactjs - Stack Overflow
1 Answer 1 · Hi! I have both lines: import React, {Component} from 'react' import PropTypes from 'prop-types'. – János. Aug 27, 2019...
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 >
How to forget about type errors in your React props with ...
Inside the component you want to define the types, import the installed prop types, in our case inside the Car. js file: import...
Read more >
New prop types do not work well with server-side rendering #83
While building a Gatsby project that uses focus-trap-react, I'm getting this build failure: Building static HTML failed See our docs page ...
Read more >
How to specify the shape of an object with PropTypes
PropTypes helps us in this case as well by specifying which property is required and raising a warning if it's not present.
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