Skip to content

Commit 8dd98f3

Browse files
authored
Fix grammar in v5 migration guide
1 parent 973b51d commit 8dd98f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/docs/07-misc/07-v5-migration-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ In Svelte 4, you would pass data to a `<slot />` and then retrieve it with `let:
453453
> - the `let:` syntax was confusing to many people as it _creates_ a variable whereas all other `:` directives _receive_ a variable
454454
> - the scope of a variable declared with `let:` wasn't clear. In the example above, it may look like you can use the `item` slot prop in the `empty` slot, but that's not true
455455
> - named slots had to be applied to an element using the `slot` attribute. Sometimes you didn't want to create an element, so we had to add the `<svelte:fragment>` API
456-
> - named slots could also be applied to a component, which changed the semantics of where `let:` directives are available (even today us maintainers often don't know which way around it works)
456+
> - named slots could also be applied to a component, which changed the semantics of where `let:` directives are available (even today we maintainers often don't know which way around it works)
457457
>
458458
> Snippets solve all of these problems by being much more readable and clear. At the same time they're more powerful as they allow you to define sections of UI that you can render _anywhere_, not just passing them as props to a component.
459459

0 commit comments

Comments
 (0)