Closed carpiediem closed 5 years ago
Everywhere in the code it says: import PropTypes from 'prop-types';
, the only places where PropTypes was read from React was in:
import React, { Component, PropTypes } from 'react';
import React, { PureComponent, PropTypes } from 'react';
Because the issue mentions "demo code" it probably refers to the code in the documents. I can submit a PR, are the docs coming from the docs folder in My guess is master
?master
, the gh-pages
branch? BTW, the gh-pages
branch appears to be very old and outdated.
Because the issue mentions "demo code" it probably refers to the code in the documents.
This is correct. Sorry for being unclear.
Do you want to request a feature or report a bug? bug
What is the current behavior? Warning from ESLint:
React.PropTypes is deprecated since React 15.5.0, use the npm module prop-types instead
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar. Compile demo code with babel
What is the expected behavior? No deprecation warning
Which versions of react-url-query, and which browser and OS are affected by this issue? Did this work in previous versions of react-url-query? current