Skip to content

Upgrading @types/react-dom 0.14 to 15

Unknown0.14.23 → 15.5.22

Fetching 23 releases from GitHub…0 / 23
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Drops @types/react.

Installs 0 packages in all (was 2).

Generated by DepDelta from published .d.ts files. Not mixed with prose notes.

  • removed: export = ReactDOM
  • removed: function ReactDOM.findDOMNode(instance: ReactInstance): Element
  • removed: function ReactDOM.findDOMNode<E extends Element>(instance: ReactInstance): E
  • removed: function ReactDOM.render<P extends DOMAttributes<T>, T extends Element>(element: DOMElement<P, T>, container: Element | null, callback?: (element: T) => any): T
  • removed: function ReactDOM.render<P, T extends Component<P, ComponentState>>(element: CElement<P, T>, container: Element | null, callback?: (component: T) => any): T
  • removed: function ReactDOM.render<P>(element: ReactElement<P>, container: Element | null, callback?: (component?: Component<P, ComponentState> | Element) => any): Component<P, ComponentState> | Element | void
  • removed: function ReactDOM.render<P>(element: SFCElement<P>, container: Element | null, callback?: () => any): void
  • removed: function ReactDOM.render<P>(parentComponent: Component<any, any>, element: SFCElement<P>, container: Element, callback?: () => any): void
  • removed: function ReactDOM.unmountComponentAtNode(container: Element): boolean
  • removed: function ReactDOM.unstable_batchedUpdates(callback: () => any): void
  • removed: function ReactDOM.unstable_batchedUpdates<A, B>(callback: (a: A, b: B) => any, a: A, b: B): void
  • removed: function ReactDOM.unstable_batchedUpdates<A>(callback: (a: A) => any, a: A): void
  • removed: function ReactDOM.unstable_renderSubtreeIntoContainer<P extends DOMAttributes<T>, T extends Element>(parentComponent: Component<any, any>, element: DOMElement<P, T>, container: Element, callback?: (element: T) => any): T
  • removed: function ReactDOM.unstable_renderSubtreeIntoContainer<P, T extends Component<P, ComponentState>>(parentComponent: Component<any, any>, element: CElement<P, T>, container: Element, callback?: (component: T) => any): T
  • removed: function ReactDOM.unstable_renderSubtreeIntoContainer<P>(parentComponent: Component<any, any>, element: ReactElement<P>, container: Element, callback?: (component?: Component<P, ComponentState> | Element) => any): Component<P, ComponentState> | Element | void
  • removed: namespace ReactDOM
  • removed: var ReactDOM.version: string
  • added: const version: string
  • added: function findDOMNode(instance: ReactInstance): Element
  • added: function findDOMNode<E extends Element>(instance: ReactInstance | null | undefined): E
  • added: function render<P extends DOMAttributes<T>, T extends Element>(element: DOMElement<P, T>, container: Element | null, callback?: (element: T) => any): T
  • added: function render<P, T extends Component<P, ComponentState>>(element: CElement<P, T>, container: Element | null, callback?: (component: T) => any): T
  • added: function render<P>(element: ReactElement<P>, container: Element | null, callback?: (component?: Component<P, ComponentState> | Element) => any): Component<P, ComponentState> | Element | void
  • added: function render<P>(element: SFCElement<P>, container: Element | null, callback?: () => any): void
  • added: function render<P>(parentComponent: Component<any>, element: SFCElement<P>, container: Element, callback?: () => any): void
  • added: function unmountComponentAtNode(container: Element): boolean
  • added: function unstable_batchedUpdates<A, R>(callback: (a: A) => R, a: A): R
  • added: function unstable_batchedUpdates<R>(callback: () => R): R
  • added: function unstable_renderSubtreeIntoContainer<P extends DOMAttributes<T>, T extends Element>(parentComponent: Component<any>, element: DOMElement<P, T>, container: Element, callback?: (element: T) => any): T
  • added: function unstable_renderSubtreeIntoContainer<P, T extends Component<P, ComponentState>>(parentComponent: Component<any>, element: CElement<P, T>, container: Element, callback?: (component: T) => any): T
  • added: function unstable_renderSubtreeIntoContainer<P>(parentComponent: Component<any>, element: ReactElement<P>, container: Element, callback?: (component?: Component<P, ComponentState> | Element) => any): Component<P, ComponentState> | Element | void
  • removed: export as namespace ReactDOMServer
  • removed: function renderToStaticMarkup(element: ReactElement<any>): string
  • removed: function renderToString(element: ReactElement<any>): string
  • removed: var version: string
  • added: const version: string
  • added: export as namespace ReactDOMServer
  • added: function renderToStaticMarkup(element: ReactElement): string
  • added: function renderToString(element: ReactElement): string
  • added: const Simulate.abort: EventSimulator
  • added: const Simulate.animationEnd: EventSimulator
  • added: const Simulate.animationIteration: EventSimulator
  • added: const Simulate.animationStart: EventSimulator
  • added: const Simulate.auxClick: EventSimulator
  • added: const Simulate.beforeInput: EventSimulator
  • added: const Simulate.blur: EventSimulator
  • added: const Simulate.canPlay: EventSimulator
  • added: const Simulate.canPlayThrough: EventSimulator
  • added: const Simulate.cancel: EventSimulator
  • added: const Simulate.change: EventSimulator
  • added: const Simulate.click: EventSimulator
  • added: const Simulate.close: EventSimulator
  • added: const Simulate.compositionEnd: EventSimulator
  • added: const Simulate.compositionStart: EventSimulator
  • added: const Simulate.compositionUpdate: EventSimulator
  • added: const Simulate.contextMenu: EventSimulator
  • added: const Simulate.copy: EventSimulator
  • added: const Simulate.cut: EventSimulator
  • added: const Simulate.doubleClick: EventSimulator
  • added: const Simulate.drag: EventSimulator
  • added: const Simulate.dragEnd: EventSimulator
  • added: const Simulate.dragEnter: EventSimulator
  • added: const Simulate.dragExit: EventSimulator
  • added: const Simulate.dragLeave: EventSimulator
  • added: const Simulate.dragOver: EventSimulator
  • added: const Simulate.dragStart: EventSimulator
  • added: const Simulate.drop: EventSimulator
  • added: const Simulate.durationChange: EventSimulator
  • added: const Simulate.emptied: EventSimulator
  • added: const Simulate.encrypted: EventSimulator
  • added: const Simulate.ended: EventSimulator
  • added: const Simulate.error: EventSimulator
  • added: const Simulate.focus: EventSimulator
  • added: const Simulate.gotPointerCapture: EventSimulator
  • added: const Simulate.input: EventSimulator
  • added: const Simulate.invalid: EventSimulator
  • added: const Simulate.keyDown: EventSimulator
  • added: const Simulate.keyPress: EventSimulator
  • added: const Simulate.keyUp: EventSimulator
  • added: const Simulate.load: EventSimulator
  • added: const Simulate.loadStart: EventSimulator
  • added: const Simulate.loadedData: EventSimulator
  • added: const Simulate.loadedMetadata: EventSimulator
  • added: const Simulate.lostPointerCapture: EventSimulator
  • added: const Simulate.mouseDown: EventSimulator
  • added: const Simulate.mouseEnter: EventSimulator
  • added: const Simulate.mouseLeave: EventSimulator
  • added: const Simulate.mouseMove: EventSimulator
  • added: const Simulate.mouseOut: EventSimulator
  • added: const Simulate.mouseOver: EventSimulator
  • added: const Simulate.mouseUp: EventSimulator
  • added: const Simulate.paste: EventSimulator
  • added: const Simulate.pause: EventSimulator
  • added: const Simulate.play: EventSimulator
  • added: const Simulate.playing: EventSimulator
  • added: const Simulate.pointerCancel: EventSimulator
  • added: const Simulate.pointerDown: EventSimulator
  • added: const Simulate.pointerEnter: EventSimulator
  • added: const Simulate.pointerLeave: EventSimulator
  • added: const Simulate.pointerMove: EventSimulator
  • added: const Simulate.pointerOut: EventSimulator
  • added: const Simulate.pointerOver: EventSimulator
  • added: const Simulate.pointerUp: EventSimulator
  • added: const Simulate.progress: EventSimulator
  • added: const Simulate.rateChange: EventSimulator
  • added: const Simulate.reset: EventSimulator
  • added: const Simulate.scroll: EventSimulator
  • added: const Simulate.seeked: EventSimulator
  • added: const Simulate.seeking: EventSimulator
  • added: const Simulate.select: EventSimulator
  • added: const Simulate.stalled: EventSimulator
  • added: const Simulate.submit: EventSimulator
  • added: const Simulate.suspend: EventSimulator
  • added: const Simulate.timeUpdate: EventSimulator
  • added: const Simulate.toggle: EventSimulator
  • added: const Simulate.touchCancel: EventSimulator
  • added: const Simulate.touchEnd: EventSimulator
  • added: const Simulate.touchMove: EventSimulator
  • added: const Simulate.touchStart: EventSimulator
  • added: const Simulate.transitionEnd: EventSimulator
  • added: const Simulate.volumeChange: EventSimulator
  • added: const Simulate.waiting: EventSimulator
  • added: const Simulate.wheel: EventSimulator
  • added: function createRenderer(): ShallowRenderer
  • added: function findAllInRenderedTree(root: Component<any>, fn: (i: ReactInstance) => boolean): ReactInstance[]
  • added: function findRenderedComponentWithType<T extends Component, C extends ComponentClass>(root: Component<any>, type: ClassType<any, T, C>): T
  • added: function findRenderedDOMComponentWithClass(root: Component<any>, className: string): Element
  • added: function findRenderedDOMComponentWithTag(root: Component<any>, tagName: string): Element
  • added: function isCompositeComponent(instance: ReactInstance): instance is Component<any>
  • added: function isCompositeComponentWithType<T extends Component<any>, C extends ComponentClass<any>>(instance: ReactInstance, type: ClassType<any, T, C>): boolean
  • added: function isDOMComponent(instance: ReactInstance): instance is Element
  • added: function isElement(element: any): boolean
  • added: function isElementOfType<P extends DOMAttributes<{}>, T extends Element>(element: ReactElement, type: string): element is DOMElement<P, T>
  • added: function isElementOfType<P, T extends Component<P>, C extends ComponentClass<P>>(element: ReactElement, type: ClassType<P, T, C>): element is CElement<P, T>
  • added: function isElementOfType<P>(element: ReactElement, type: SFC<P>): element is SFCElement<P>
  • added: function isElementOfType<T extends HTMLElement>(element: ReactElement, type: string): element is ReactHTMLElement<T>
  • added: function mockComponent(mocked: MockedComponentClass, mockTagName?: string): typeof ReactTestUtils
  • added: function renderIntoDocument(element: SFCElement<any>): void
  • added: function renderIntoDocument<P, T extends Component<P>>(element: CElement<P, T>): T
  • added: function renderIntoDocument<P>(element: ReactElement<P>): Component<P> | Element | void
  • added: function renderIntoDocument<T extends Element>(element: DOMElement<any, T>): T
  • added: function scryRenderedComponentsWithType<T extends Component, C extends ComponentClass>(root: Component<any>, type: ClassType<any, T, C>): T[]
  • added: function scryRenderedDOMComponentsWithClass(root: Component<any>, className: string): Element[]
  • added: function scryRenderedDOMComponentsWithTag(root: Component<any>, tagName: string): Element[]
  • added: interface MockedComponentClass
  • added: interface OptionalEventProperties
  • added: interface ShallowRenderer
  • added: interface SyntheticEventData extends OptionalEventProperties
  • added: method OptionalEventProperties.preventDefault?(): void
  • added: method OptionalEventProperties.stopPropagation?(): void
  • added: method ShallowRenderer.getRenderOutput<E extends ReactElement>(): E
  • added: method ShallowRenderer.render(element: ReactElement, context?: any): void
  • added: method ShallowRenderer.unmount(): void
  • added: method SyntheticEventData.getModifierState?(key: ModifierKey): boolean
  • added: namespace Simulate
  • added: new MockedComponentClass(): any
  • added: property OptionalEventProperties.bubbles?: boolean | undefined
  • added: property OptionalEventProperties.cancelable?: boolean | undefined
  • added: property OptionalEventProperties.currentTarget?: EventTarget | undefined
  • added: property OptionalEventProperties.defaultPrevented?: boolean | undefined
  • added: property OptionalEventProperties.eventPhase?: number | undefined
  • added: property OptionalEventProperties.isTrusted?: boolean | undefined
  • added: property OptionalEventProperties.nativeEvent?: Event | undefined
  • added: property OptionalEventProperties.target?: EventTarget | undefined
  • added: property OptionalEventProperties.timeStamp?: Date | undefined
  • added: property OptionalEventProperties.type?: string | undefined
  • added: property SyntheticEventData.altKey?: boolean | undefined
  • added: property SyntheticEventData.button?: number | undefined
  • added: property SyntheticEventData.buttons?: number | undefined
  • added: property SyntheticEventData.changedTouches?: TouchList | undefined
  • added: property SyntheticEventData.charCode?: number | undefined
  • added: property SyntheticEventData.clientX?: number | undefined
  • added: property SyntheticEventData.clientY?: number | undefined
  • added: property SyntheticEventData.clipboardData?: DataTransfer | undefined
  • added: property SyntheticEventData.ctrlKey?: boolean | undefined
  • added: property SyntheticEventData.deltaMode?: number | undefined
  • added: property SyntheticEventData.deltaX?: number | undefined
  • added: property SyntheticEventData.deltaY?: number | undefined
  • added: property SyntheticEventData.deltaZ?: number | undefined
  • added: property SyntheticEventData.detail?: number | undefined
  • added: property SyntheticEventData.key?: string | undefined
  • added: property SyntheticEventData.keyCode?: number | undefined
  • added: property SyntheticEventData.locale?: string | undefined
  • added: property SyntheticEventData.location?: number | undefined
  • added: property SyntheticEventData.metaKey?: boolean | undefined
  • added: property SyntheticEventData.pageX?: number | undefined
  • added: property SyntheticEventData.pageY?: number | undefined
  • added: property SyntheticEventData.relatedTarget?: EventTarget | undefined
  • added: property SyntheticEventData.repeat?: boolean | undefined
  • added: property SyntheticEventData.screenX?: number | undefined
  • added: property SyntheticEventData.screenY?: number | undefined
  • added: property SyntheticEventData.shiftKey?: boolean | undefined
  • added: property SyntheticEventData.targetTouches?: TouchList | undefined
  • added: property SyntheticEventData.touches?: TouchList | undefined
  • added: property SyntheticEventData.view?: AbstractView | undefined
  • added: property SyntheticEventData.which?: number | undefined
  • added: type EventSimulator = (element: Element | Component<any>, eventData?: SyntheticEventData) => void
  • added: type ModifierKey = 'Alt' | 'AltGraph' | 'CapsLock' | 'Control' | 'Fn' | 'FnLock' | 'Hyper' | 'Meta' | 'NumLock' | 'ScrollLock' | 'Shift' | 'Super' | 'Symbol' | 'SymbolLock'