News for hackers. Stuff that matters.
Re:Show HN: Sinuous – Small, fast, reactive UI library by codegladiator on Monday July 22, 2019 @04:08AM (#20496125)
> import { o, h } from 'sinuous';

really recommend you to use proper names instead of single letter variables.

Re:Show HN: Sinuous – Small, fast, reactive UI library by ezekg on Monday July 22, 2019 @09:48AM (#20497908)
I second this. Also, this example on GitHub doesn't work since html is not defined.
Re:Show HN: Sinuous – Small, fast, reactive UI library by luwes on Monday July 22, 2019 @12:41PM (#20499721)
Thanks for the feedback!

`o` is an alias for `observable`. `observable` can be used as well.

`h` is the pragma, comes from hyperscript. it's used by a lot of libraries as the createElement function name so I didn't think this needed a more descriptive name.