Last active
October 7, 2016 15:40
-
-
Save netopyr/16d5d0d0b0d9f8f8cf8a094ee49a2b51 to your computer and use it in GitHub Desktop.
Virtual DOM example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ 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