1👍
Props and children arguments are swapped in one call, should be:
h('div', { onClick: () => alert('foo') }, [
...
])
Source:stackexchange.com
1👍
Props and children arguments are swapped in one call, should be:
h('div', { onClick: () => alert('foo') }, [
...
])