acdlite / acdlite/redux-router
React.PropTypes is deprecated in React@15.5
- Langage dominant
- JavaScript
- Étoiles
- 2.3k
- Forks
- 194
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Now there are warnings from redux-router.
> Warning: Accessing PropTypes via the main React package is deprecated, and will be removed in React v16.0. Use the latest available v15.* prop-types package from npm instead. For info on usage, compatibility, migration and more, see https://fb.me/prop-types-docs
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Find where redux-router uses React.PropTypes, likely in component files. Replace those imports with the separate 'prop-types' package. Check the project's dependencies to see if prop-types is already included, and update import statements accordingly. Verify the fix by running any existing tests or checking that the warning disappears.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript, react
- Domaine
- frontend
- Type d'issue
- Refactorisation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 70/100