c
Size: a a a
c
DS
🚀🚀
🚀🚀
🚀🚀
🚀🚀
DS
c
🚀🚀
🚀🚀
🚀🚀
🚀🚀
🚀🚀
🚀🚀
🚀🚀
🚀🚀
const user = createStore('guest')
list(items, () => {
const click = createEvent()
const count = createStore(0)
.on(click, x => x + 1)
const content = combine(
count, user,
(count, user) => `${user} clicked ${count} times`)
)
h('button', {
handler: {click},
text: content
})
})🚀🚀
🚀🚀
🚀🚀
🚀🚀