Upgrading @types/react-dom 15 to 16
Unknown15.5.22 → 16.9.25
UnknownUpgrade verdict
DepDelta hasn't looked for this range's notes yet, so breaking changes can't be ruled out.
In plain terms
- DepDelta hasn't finished looking for the notes in this range, so it can't rule out breaking changes yet.
Must act Unknown for releases without notes
Releases without notes may still need changes. Check their commits before upgrading.
API changes
Generated by DepDelta from published .d.ts files. Not mixed with prose notes.
- added:
interface NodeJS.ReadableStream - added:
namespace NodeJS
- removed:
function findDOMNode<E extends Element>(instance: ReactInstance | null | undefined): E - removed:
function render<P extends DOMAttributes<T>, T extends Element>(element: DOMElement<P, T>, container: Element | null, callback?: (element: T) => any): T - removed:
function render<P, T extends Component<P, ComponentState>>(element: CElement<P, T>, container: Element | null, callback?: (component: T) => any): T - removed:
function render<P>(element: ReactElement<P>, container: Element | null, callback?: (component?: Component<P, ComponentState> | Element) => any): Component<P, ComponentState> | Element | void - removed:
function render<P>(element: SFCElement<P>, container: Element | null, callback?: () => any): void - removed:
function render<P>(parentComponent: Component<any>, element: SFCElement<P>, container: Element, callback?: () => any): void - changed:
function findDOMNode(instance: ReactInstance): Element → function findDOMNode(instance: ReactInstance | null | undefined): Element | null | Text - changed:
function unmountComponentAtNode(container: Element): boolean → function unmountComponentAtNode(container: Element | DocumentFragment): boolean - changed:
function unstable_renderSubtreeIntoContainer<P extends DOMAttributes<T>, T extends Element>(parentComponent: Component<any>, element: DOMElement<P, T>, container: Element, callback?: (element: T) => any): T → function unstable_renderSubtreeIntoContainer<T extends Element>(parentComponent: Component<any>, element: DOMElement<DOMAttributes<T>, T>, container: Element, callback?: (element: T) => any): T - added:
call Renderer(element: Array<CElement<any, Component<any, ComponentState>>>, container: Container | null, callback?: () => void): Component<any, ComponentState> - added:
call Renderer(element: Array<DOMElement<DOMAttributes<any>, any>>, container: Container | null, callback?: () => void): Element - added:
call Renderer(element: ReactElement[], container: Container | null, callback?: () => void): Component<any, ComponentState> | Element | void - added:
call Renderer(element: SFCElement<any> | Array<SFCElement<any>>, container: Container | null, callback?: () => void): void - added:
call Renderer<P, T extends Component<P, ComponentState>>(element: CElement<P, T>, container: Container | null, callback?: () => void): T - added:
call Renderer<P>(element: ReactElement<P>, container: Container | null, callback?: () => void): Component<P, ComponentState> | Element | void - added:
call Renderer<T extends Element>(element: DOMElement<DOMAttributes<T>, T>, container: Container | null, callback?: () => void): T - added:
const hydrate: Renderer - added:
const render: Renderer - added:
function createPortal(children: ReactNode, container: Element | DocumentFragment, key?: null | string): ReactPortal - added:
function flushSync<A, R>(fn: (a: A) => R, a: A): R - added:
function flushSync<R>(fn: () => R): R - added:
interface Renderer - added:
type Container = Element | Document | DocumentFragment
- added:
declare global - added:
function renderToNodeStream(element: ReactElement): NodeJS.ReadableStream - added:
function renderToStaticNodeStream(element: ReactElement): NodeJS.ReadableStream
- changed:
function findRenderedComponentWithType<T extends Component, C extends ComponentClass>(root: Component<any>, type: ClassType<any, T, C>): T → function findRenderedComponentWithType<T extends Component<any>, C extends ComponentClass<any>>(root: Component<any>, type: ClassType<any, T, C>): T - changed:
function scryRenderedComponentsWithType<T extends Component, C extends ComponentClass>(root: Component<any>, type: ClassType<any, T, C>): T[] → function scryRenderedComponentsWithType<T extends Component<any>, C extends ComponentClass<any>>(root: Component<any>, type: ClassType<any, T, C>): T[] - changed:
new MockedComponentClass(): any → new MockedComponentClass(props: any): any - added:
function act(callback: () => Promise<VoidOrUndefinedOnly>): Promise<undefined> - added:
function act(callback: () => VoidOrUndefinedOnly): void - added:
interface DebugPromiseLike - added:
method DebugPromiseLike.then(onfulfilled: (value: never) => never, onrejected: (reason: never) => never): never