Skip to content

Commit

Permalink
RN: Remove DeprecatedPropTypes
Browse files Browse the repository at this point in the history
Summary:
Removes all of the `DeprecatedPropTypes` modules from React Native.

Any call sites that were deep-linking to these modules and still requires them can instead import them from the `deprecated-react-native-prop-types` package.

Since this also removes the last reference to `prop-types`, this diff also removes the `prop-types` dependency from `react-native`. 🥳

Changelog:
[General][Removed] DeprecatedPropTypes (deep-link) modules removed from React Native.

Reviewed By: kacieb

Differential Revision: D33671645

fbshipit-source-id: 91829a556b272bbd17ee94806fc548af753593db
  • Loading branch information
yungsters authored and facebook-github-bot committed Jan 21, 2022
1 parent f12c8fb commit 23717c6
Show file tree
Hide file tree
Showing 21 changed files with 0 additions and 2,511 deletions.
1 change: 0 additions & 1 deletion BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,6 @@ rn_library(
"//xplat/js:node_modules__nullthrows",
"//xplat/js:node_modules__pretty_19format",
"//xplat/js:node_modules__promise",
"//xplat/js:node_modules__prop_19types",
"//xplat/js:node_modules__react_19devtools_19core",
"//xplat/js:node_modules__react_19refresh",
"//xplat/js:node_modules__react_19shallow_19renderer",
Expand Down
76 changes: 0 additions & 76 deletions Libraries/DeprecatedPropTypes/DeprecatedColorPropType.js

This file was deleted.

28 changes: 0 additions & 28 deletions Libraries/DeprecatedPropTypes/DeprecatedEdgeInsetsPropType.js

This file was deleted.

131 changes: 0 additions & 131 deletions Libraries/DeprecatedPropTypes/DeprecatedImagePropType.android.js

This file was deleted.

82 changes: 0 additions & 82 deletions Libraries/DeprecatedPropTypes/DeprecatedImagePropType.ios.js

This file was deleted.

40 changes: 0 additions & 40 deletions Libraries/DeprecatedPropTypes/DeprecatedImageSourcePropType.js

This file was deleted.

Loading

0 comments on commit 23717c6

Please sign in to comment.