Skip to content

Commit 35e4079

Browse files
authored
docs: Add explicit mention of className in content for Algolia (#1229)
1 parent 983f4bc commit 35e4079

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en/guide/v10/differences-to-react.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Preact aims to closely match the DOM specification supported by all major browse
9595
<div className="foo" />
9696
```
9797

98-
Most Preact developers prefer to use `class` because it's shorter to write, but both are supported.
98+
Most Preact developers prefer to use `class` instead of `className` as it's shorter to write but both are supported.
9999

100100
### SVG inside JSX
101101

0 commit comments

Comments
 (0)