mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-13 12:22:02 +08:00
By overloading createElement() for the ClassicComponentClass and creating a separate ReactClassicElement type, we can keep track of which calls to render() should create a ClassicComponent versus a new style Component. Useful for keeping the old API, which makes migration easier.