Skip to content

Instantly share code, notes, and snippets.

@taras
Last active March 25, 2020 22:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taras/676c8dc5a34e3f9391b1a32367fac6d9 to your computer and use it in GitHub Desktop.
Save taras/676c8dc5a34e3f9391b1a32367fac6d9 to your computer and use it in GitHub Desktop.
{ nodeName: 'ROOT',
style: {},
attributes: {},
childNodes:
[ { nodeName: 'DIV',
style: { flexDirection: 'column', flexGrow: 0, flexShrink: 1 },
attributes: {},
childNodes:
[ { nodeName: 'DIV',
style: { flexDirection: 'row', flexGrow: 0, flexShrink: 1 },
attributes: {},
childNodes:
[ { nodeName: 'DIV',
style: {},
attributes: {},
childNodes: [],
parentNode: [Circular],
onRender: [Function: onRender],
textContent: 'Hello World',
yogaNode: Bound {} } ],
parentNode: [Circular],
onRender: [Function: onRender],
unstable__transformChildren: undefined,
yogaNode: Bound {} },
{ nodeName: '#text',
nodeValue: '',
parentNode: [Circular],
yogaNode: Bound {} } ],
parentNode: [Circular],
onRender: [Function: onRender],
unstable__transformChildren: undefined,
yogaNode: Bound {} } ],
parentNode: null,
onRender: [Function: onRender],
yogaNode: Bound {} }
{ nodeName: 'ROOT',
style: {},
attributes: {},
childNodes:
[ { nodeName: 'DIV',
style: { flexDirection: 'column', flexGrow: 0, flexShrink: 1 },
attributes: {},
childNodes:
[ { nodeName: 'DIV',
style: { flexDirection: 'row', flexGrow: 0, flexShrink: 1 },
attributes: {},
childNodes:
[ { nodeName: 'DIV',
style: {},
attributes: {},
childNodes: [],
parentNode: [Circular],
yogaNode: Bound {},
textContent: 'Hello World' } ],
parentNode: [Circular],
yogaNode: Bound {},
unstable__transformChildren: undefined },
{ nodeName: '#text',
nodeValue: '',
parentNode: [Circular],
yogaNode: Bound {},
style: {} } ],
parentNode: [Circular],
yogaNode: Bound {},
unstable__transformChildren: undefined } ],
parentNode: null,
yogaNode: Bound {} }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment