I often copy typescript code between preact and react apps and it's slightly annoying when some types have different names :( especially when they don't have to.
Here's a list from top of my head
Preact.ComponentConstructor → React.ComponentClass
Preact.FunctionalComponent → React.FunctionComponent
Preact.ComponentFactory → React.ComponentType
Preact.Preact{Context,Provider,Consumer} → React.{Context,Provider,Consumer}
I often copy typescript code between preact and react apps and it's slightly annoying when some types have different names :( especially when they don't have to.
Here's a list from top of my head
Preact.ComponentConstructor→React.ComponentClassPreact.FunctionalComponent→React.FunctionComponentPreact.ComponentFactory→React.ComponentTypePreact.Preact{Context,Provider,Consumer}→React.{Context,Provider,Consumer}