Update README.md
This commit is contained in:
parent
6ec1dd49cb
commit
32a21fa684
1 changed files with 3 additions and 3 deletions
|
@ -12,12 +12,12 @@ It's
|
||||||
# Differences from Flute
|
# Differences from Flute
|
||||||
|
|
||||||
- New features:
|
- New features:
|
||||||
- Fragment `(<> ...)`. It allows you to group elements without a wrapper element.
|
- Fragment `(<> ...)`: This allows you to group elements without a wrapper element.
|
||||||
- Boolean attributes support (e.g. `checked`, `disabled`). If the value is
|
- Boolean attributes support (e.g. `checked`, `disabled`): If the value is
|
||||||
- `nil`: Nothing is rendered.
|
- `nil`: Nothing is rendered.
|
||||||
- `t`: Only the key is rendered.
|
- `t`: Only the key is rendered.
|
||||||
- non-boolean: The key/value pair is rendered.
|
- non-boolean: The key/value pair is rendered.
|
||||||
- `...props` alist. It allows you to pass props more flexibly.
|
- `...props`: If the properties given to a component are not declared with `define-element` macro, they are gathered into `...props` association list. This allows flexible props passing to components.
|
||||||
|
|
||||||
```lisp
|
```lisp
|
||||||
(<>
|
(<>
|
||||||
|
|
Loading…
Reference in a new issue