Skip to content

Commit 6ff5a06

Browse files
committed
note breaking change
1 parent 3fe2c14 commit 6ff5a06

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@ Exports from runes mode components cannot be bound to directly. For example, hav
129129

130130
In Svelte 4 syntax, every property (declared via `export let`) is bindable, meaning you can `bind:` to it. In runes mode, properties are not bindable by default: you need to denote bindable props with the [`$bindable`](/docs/runes#$bindable) rune.
131131

132+
### `accessors` option is ignored
133+
134+
Setting the `accessors` option to `true` makes properties of a component directly accessible on the component instance. In runes mode, properties are never accessible on the component instance. You can use component exports instead if you need to expose them.
135+
132136
## Other breaking changes
133137

134138
### Stricter `@const` assignment validation

0 commit comments

Comments
 (0)