Hacker News new | ask | show | jobs
by codegladiator 2530 days ago
> import { o, h } from 'sinuous';

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

2 comments

I second this. Also, this example on GitHub doesn't work since html is not defined.
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.