Skip to content
This repository was archived by the owner on Dec 23, 2022. It is now read-only.

Use prop-types lib instead of deprecated React.PropTypes#100

Merged
leMaik merged 1 commit intoTeamWertarbyte:masterfrom
rsolomon:prop-types
Apr 15, 2017
Merged

Use prop-types lib instead of deprecated React.PropTypes#100
leMaik merged 1 commit intoTeamWertarbyte:masterfrom
rsolomon:prop-types

Conversation

@rsolomon
Copy link
Contributor

Use the prop-types library to avoid React 15.5 deprecation warning.

For testing, ran npm run build and npm run storybook to confirm visual and functional parity.

Note that prop-types was added to dependencies, as per the recommendations in this PR.

@leMaik
Copy link
Member

leMaik commented Apr 15, 2017

Thanks a lot, @rsolomon!

Just as a side node: The React devs also recommends to add prop-types as dependency for libraries.

@leMaik leMaik merged commit 74e14af into TeamWertarbyte:master Apr 15, 2017
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 this pull request may close these issues.

2 participants