Skip to content

Instantly share code, notes, and snippets.

@netopyr netopyr/virtual_dom.js
Last active Oct 7, 2016

Embed
What would you like to do?
Virtual DOM example
{ tagName: 'div',
attributes: {
class: 'view'
},
children: [
{ tagName: 'input', ... },
{ tagName: 'label', ... },
{ tagName: 'button', ... }
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.