Sinuous
Languages and libraries
ui library
SHOW HN2019
How HN took it
0 positive, 3 neutral or asking, 0 mixed, 10 critical, out of 13 comments about the project. Thread score -0.56.
Docs: 0 for, 3 againstDesign: 0 for, 3 againstPerformance: 0 for, 3 againstExecution: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Stays close to plain JS and web standards
From 1 comment
@aitchnyu it is similar to Svelte, a lot simpler, early stages, less features though. I think one of the upsides of Sinuous is that stays much closer to plain JS and to the web…
luwes on HN
Fast in benchmarks
From 1 comment
The preprocessing is far from an HTML parser. It just helps pick what marker to join template fragments with before passing to the built-in parser. You seem to think this is…
spankalee on HN
Objections
Fine-grained observables fail a benchmark's correctness check
From 2 comments
All "top ranked" libraries that use fine-grained observables graph in this benchmark are actually "broken"[1]. 1. https://github.com/ryansolid/solid/issues/46
localvoid on HNYour library has the same issue. Also, you are using linear search[1] when removing edges. 1.…
localvoid on HN
Template literal HTML lacks syntax highlighting and is error-prone
From 2 comments
I kinda don't get the whole "put html in template literals". Wouldn't there be no syntax highlighting? And the framework is either putting the string into the DOM with some regex…
_hardwaregeek on HNMy personal opinion is that tagged template literals are the worst addition to Javascript [1] As HN user stevebmark said [2]: --- start quote --- …we’ve learned not to write code…
dmitriid on HN
Counter examples behave unexpectedly
From 1 comment
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…
ezekg on HN
Requests
Document the rendering model and how it differs from competitors
From 1 comment
I work in this space so I am curious how your library is different from its similar competitors. I read the docs, but I didn't find anything about the actual model for how it…
evmar on HN
Use more descriptive variable names in examples
From 2 comments
> import { o, h } from 'sinuous'; really recommend you to use proper names instead of single letter variables.
codegladiator on HNI second this. Also, this example on GitHub doesn't work since html is not defined.
ezekg on HN
Questions
Does the whole UI rerender on any observable change?
From 1 comment
I work in this space so I am curious how your library is different from its similar competitors. I read the docs, but I didn't find anything about the actual model for how it…
evmar on HN
How does it compare to Svelte?
From 1 comment
This brings Svelte to my mind with mere kbs of code free of a virtual-dom runtime. What should I know more?
aitchnyu on HN
Alternatives named
Svelte
From 1 comment
This brings Svelte to my mind with mere kbs of code free of a virtual-dom runtime. What should I know more?
aitchnyu on HN
lit-html
From 1 comment
Of course you can write a syntax highlighter for HTML in template literals. The lit-plugin VS Code extension provides syntax highlighting plus type checking for bindings.…
spankalee on HN
Solid
From 1 comment
All "top ranked" libraries that use fine-grained observables graph in this benchmark are actually "broken"[1]. 1. https://github.com/ryansolid/solid/issues/46
localvoid on HN