Skip to content

Instantly share code, notes, and snippets.

@heloa-net
Created February 15, 2017 14:06
Show Gist options
  • Select an option

  • Save heloa-net/8d167e90311ad88d7ca222228a40bd94 to your computer and use it in GitHub Desktop.

Select an option

Save heloa-net/8d167e90311ad88d7ca222228a40bd94 to your computer and use it in GitHub Desktop.

Revisions

  1. @she-dev she-dev created this gist Feb 15, 2017.
    67 changes: 67 additions & 0 deletions wrapper.children.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,67 @@
    ReactWrapper {
    component: null,
    root:
    ReactWrapper {
    component:
    ReactClassComponent {
    setChildProps: [Object],
    setChildContext: [Object],
    getInstance: [Object],
    getWrappedComponent: [Object],
    props: [Object],
    context: {},
    refs: {},
    updater: [Object],
    state: [Object],
    _reactInternalInstance: [Object] },
    root: [Circular],
    node:
    Provider {
    props: [Object],
    context: {},
    refs: {},
    updater: [Object],
    store: [Object],
    _reactInternalInstance: [Object],
    state: null },
    nodes: [ [Object] ],
    length: 1,
    options: {},
    complexSelector:
    ComplexSelector {
    buildPredicate: [Function: buildInstPredicate],
    findWhereUnwrapped: [Function: findWhereUnwrapped],
    childrenOfNode: [Function: childrenOfInst] } },
    node:
    HTMLDivElement {
    '__reactInternalInstance$g1ttgqw88pamfnfn36a5g66r':
    ReactDOMComponent {
    _currentElement: [Object],
    _tag: 'div',
    _namespaceURI: 'http://www.w3.org/1999/xhtml',
    _renderedChildren: [Object],
    _previousStyle: null,
    _previousStyleCopy: null,
    _hostNode: [Circular],
    _hostParent: [Object],
    _rootNodeID: 2,
    _domID: 2,
    _hostContainerInfo: [Object],
    _wrapperState: null,
    _topLevelWrapper: null,
    _flags: 1,
    _ancestorInfo: [Object],
    _contentDebugID: null,
    _mountIndex: 0,
    _mountImage: null,
    _debugID: 8 } },
    nodes:
    [ HTMLDivElement {
    '__reactInternalInstance$g1ttgqw88pamfnfn36a5g66r': [Object] } ],
    length: 1,
    options: {},
    complexSelector:
    ComplexSelector {
    buildPredicate: [Function: buildInstPredicate],
    findWhereUnwrapped: [Function: findWhereUnwrapped],
    childrenOfNode: [Function: childrenOfInst] } }