Only prepare extra stack frames if needed (#19014)
We currently prepare an extra stack frame before they're needed. Particularly for propTypes. This causes problems as they can have side-effects with the new component stacks and it's slow. This moves it to be lazy.
S
Sebastian Markbåge committed
55cb0b7eeb0e539d89858b8ed69beabf7fe2fb46
Parent: 9752d31
Committed by GitHub <noreply@github.com>
on 5/27/2020, 3:43:50 PM