Skip to content

Commit

Permalink
docs: Add explicit mention of className in content for Algolia
Browse files Browse the repository at this point in the history
  • Loading branch information
rschristian committed Feb 5, 2025
1 parent a42c9d8 commit 4f934cb
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 4f934cb

Please sign in to comment.