bigskysoftware / bigskysoftware/_hyperscript
Alternative syntax for "install" command?
- Dominant language
- JavaScript
- Stars
- 3.8k
- Forks
- 172
- PR merge metrics
- No merged PRs in 30d
Description
Hyperscript's behaviors are a wonderful thing, but instantiating them on an element always reads a little funny. @dz4k has promoted `I am` as an alias for the `install` command, as in ``. While this reads wonderfully, it could certainly be trouble for the parser. Here are two alternatives to consider:
## "Use"
We're not currently using the keyword `use`, and it seems to fit semantically, as in:
```
```
## Distinct Attribute
Since this is such a DOM-speciic feature, it might work well to separate it into its own attribute -- something like:
```
```
or even
```
```
Thoughts?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.