ryanflorence / react-title-component

Nested document title management for React.js
MIT License
120 stars 10 forks source link

TypeError: Cannot read property 'oneOfType' of undefined #11

Open CavanWagg opened 6 years ago

CavanWagg commented 6 years ago

I'm getting a library error. does react-title-component work with React 16?

./node_modules/react-title-component/lib/Title.js node_modules/react-title-component/lib/Title.js:29

> 29 | var oneOfType = _React$PropTypes.oneOfType; 30 | var string = _React$PropTypes.string; 31 | var func = _React$PropTypes.func; 32 |

zeroClearAmerican commented 6 years ago

Getting this same error as well. Not sure that this is compatible with React 16.

BinghuiXie commented 5 years ago

same error, bother me a lot

ntop001 commented 5 years ago

it seems it's not compatible with React 16. Does anyone has any alternative?