Skip to content

Commit 3322b72

Browse files
committed
Remove propTypes checks for legacy context (#28324)
Part of #28207, this is easy to land in isolation. The approach I'm taking is slightly different — instead of leaving validation on for legacy context, I disable the validation (it's DEV-only) and leave just the parts that drive the runtime logic. I.e. `contexTypes` and `childContextTypes` *values* are now ignored, the keys are used just like before. DiffTrain build for [64e755d](64e755d)
1 parent 7b53202 commit 3322b72

13 files changed

+6756
-6831
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5d445b50a670d6cdc52943ca4e5ab3422792c57c
1+
64e755d7374d753c75dc16ba1a4a09ce7b8689dd

compiled/facebook-www/React-prod.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,4 +618,4 @@ exports.useSyncExternalStore = function (
618618
exports.useTransition = function () {
619619
return ReactCurrentDispatcher.current.useTransition();
620620
};
621-
exports.version = "18.3.0-www-classic-a886996f";
621+
exports.version = "18.3.0-www-classic-e7aae6cc";

0 commit comments

Comments
 (0)