Skip to content

Commit b81dac7

Browse files
authored
Update sites/svelte-5-preview/src/routes/docs/content/03-appendix/02-breaking-changes.md
1 parent fc429e0 commit b81dac7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sites/svelte-5-preview/src/routes/docs/content/03-appendix/02-breaking-changes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ In Svelte 4, it was possible to specify event attributes on HTML elements as a s
8080
<button onclick="alert('hello')">...</button>
8181
```
8282

83-
This is considered an anti-pattern and is no longer possible in Svelte 5, where properties like `onclick` replace `on:click` as the mechanism for adding [event handlers](/docs/event-handlers).
83+
This is not recommended, and is no longer possible in Svelte 5, where properties like `onclick` replace `on:click` as the mechanism for adding [event handlers](/docs/event-handlers).

0 commit comments

Comments
 (0)