Skip to content

Commit e114bd8

Browse files
authored
Merge pull request #174 from spoerri/patch-1
Resolves #173
2 parents e1e745a + 6c5586f commit e114bd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ It uses standard JavaScript [Tagged Templates] and works in [all modern browsers
2828

2929
The syntax you write when using HTM is as close as possible to JSX:
3030

31-
- Spread props: `<div ...${props}>`
31+
- Spread props: `<div ...${props}>` instead of `<div {...props}>`
3232
- Self-closing tags: `<div />`
33-
- Components: `<${Foo}>` _(where `Foo` is a component reference)_
33+
- Components: `<${Foo}>` instead of `<Foo>` _(where `Foo` is a component reference)_
3434
- Boolean attributes: `<div draggable />`
3535

3636

0 commit comments

Comments
 (0)