Add warning in server renderer if class doesn't extend React.Component (#11993)
* Add warning in server renderer if class doesn't extend React.Component In dev mode, while server rendering, a warning will be thrown if there is a class that doesn't extend React.Component. * Use `.toWarnDev` matcher and deduplicate warnings * Deduplicate client-side warning if class doesn't extend React.Component * Default componentName to Unknown if null
N
Neil Kistner committed
e6e393b9c5221bfb1a5ddcc7221c42e96ab3baca
Parent: 77f96ed
Committed by Dan Abramov <dan.abramov@gmail.com>
on 1/9/2018, 4:24:49 PM