NativeBase: PropTypes error with react 16
native-base should make use of prop-types package instead of React.PropTypes
react-native: 0.45.1 react: 16.0.0-alpha.13 native-base:2.1.5
With the latest alpha versions of react, they completely removed React.PropTypes, and my code does not work
About this issue
- Original URL
 - State: closed
 - Created 7 years ago
 - Reactions: 3
 - Comments: 19 (3 by maintainers)
 
Commits related to this issue
- fix for PropTypes issue of react #1001 — committed to GeekyAnts/NativeBase by shivrajkumar 7 years ago
 
Cool @shivrajkumar! Will run a few more tests with the branch on my fork and submit the PR.
@sankhadeeproy007 thanks! I have created a PR that fixes this https://github.com/GeekyAnts/theme/pull/2
hey @sebandres yesterday @shivrajkumar actually released version 2.3.1 of NativeBase which has the fixes for package.json to use the correct dependencies.
To clarify the dependencies:
Status of the dependencies that fail on React 16 and or RN0.46.1:
This Branch has a working version of NativeBase with the above ‘pending changes’ hardcoded on the package.json, feel free to comment if anything is not 100%!
Once all fixes are applied I’ll update the versions of the packages to remove the direct reference to the repos/branches.