4 ms·
> import { o, h } from 'sinuous'; really recommend you to use proper names instead of single letter variables.
by codegladiator 7y ago
> import { o, h } from 'sinuous';
really recommend you to use proper names instead of single letter variables.
- ezekg 7y agoI second this. Also, this example on GitHub doesn't work since html is not defined.
- luwes 7y agoThanks 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.