Re:Show HN: Sinuous – Small, fast, reactive UI library
by ezekg on Monday July 22, 2019 @09:58AM
(#20498006)
I took it for a super simple test run and behavior seems very… weird and incorrect: https://codesandbox.io/s/7o92r. Perhaps I'm just using it wrong, but it's not very clear why this example's state fails to update as you would expect. And I found a few examples of rendering that don't behave as expected.
[ Parent
| on HN ]
Re:Show HN: Sinuous – Small, fast, reactive UI library
by luwes on Monday July 22, 2019 @10:05PM
(#20503871)
This is fixed in v0.12.3,
https://codesandbox.io/s/sinuous-counter-hmp8x
The issue below is still to be fixed. It currently returns an array when it should be a DocumentFragment. It's related to the popular `htm` package that Sinuous uses.
html`${seq.map(i => html`<li>Counter #${i} ${counter}</li>`)}`