Skip to content

Commit

Permalink
docs: Add explicit mention of className in content for Algolia (#1229)
Browse files Browse the repository at this point in the history
  • Loading branch information
rschristian authored Feb 5, 2025
1 parent 983f4bc commit 35e4079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/guide/v10/differences-to-react.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Preact aims to closely match the DOM specification supported by all major browse
<div className="foo" />
```

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

### SVG inside JSX

Expand Down

0 comments on commit 35e4079

Please sign in to comment.