Closed arv closed 5 years ago
When optimizeForSize is true remove the static Comp.propTypes manually instead of relying on JSC to strip unused code sincw React.propTypes.instanceOf etc looks like they have side effects to JSC so they are left in the ouput.
TBR
LGTM
When optimizeForSize is true remove the static Comp.propTypes manually instead of relying on JSC to strip unused code sincw React.propTypes.instanceOf etc looks like they have side effects to JSC so they are left in the ouput.