Material-ui: PropTypes via the main React package is deprecated

Created on 8 Apr 2017  路  4Comments  路  Source: mui-org/material-ui

warning.js:36 Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.

https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html

New release version of React (15.5.0) add new Warning that React.PropTypes will be deprecated soon. You must use the prop-types package from npm.

bug 馃悰

Most helpful comment

Notice that the next branch has been migrated to the prop-types package.
The master branch isn't actively maintained, any help is welcomed.

All 4 comments

Notice that the next branch has been migrated to the prop-types package.
The master branch isn't actively maintained, any help is welcomed.

@oliviertassinari I have the same issue. What branch should we use ? 'next' branch doesn't seem to work perfectly (missing svg Icon, for instance), and you say that master branch is not maintained anymore.

missing svg Icon, for instance

@Colmea The svg icons are published under their own package, for more details: https://material-ui-1dab0.firebaseapp.com/style/icons#svg-icons.

master branch is not maintained anymore

I'm not saying that the master is no longer maintained. I'm saying that we don't plan any features/core improvements based on that branch. We focus on bug fixes and stability.

Ok perfect, thanks for the clarification.

Was this page helpful?
0 / 5 - 0 ratings