Commit 3322b72
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
File tree
13 files changed
+6756
-6831
lines changed- compiled/facebook-www
13 files changed
+6756
-6831
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
618 | 618 | | |
619 | 619 | | |
620 | 620 | | |
621 | | - | |
| 621 | + | |
0 commit comments