Last active
August 29, 2015 14:25
-
-
Save yelouafi/def8e1e48830b1982048 to your computer and use it in GitHub Desktop.
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
import h from 'snabbdom/h'; | |
var vnode = h('div', {style: {fontWeight: 'bold'}}, 'Hello world'); | |
patch(document.getElementById('placeholder'), vnode); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment