Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

Update PropTypes library #170

Open
BarthesSimpson opened this issue Oct 14, 2017 · 0 comments · May be fixed by #172
Open

Update PropTypes library #170

BarthesSimpson opened this issue Oct 14, 2017 · 0 comments · May be fixed by #172

Comments

@BarthesSimpson
Copy link

BarthesSimpson commented Oct 14, 2017

You're still using import React, {Component, PropTypes} from "react";. This is deprecated, currently causes a warning, and will be removed completely in React 16. You need to import PropTypes from the separate library prop-types.

@suark suark linked a pull request Oct 24, 2017 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant