Skip to content

Commit 25f5a7c

Browse files
authored
Remove duplication (#685)
1 parent e2127a3 commit 25f5a7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/concepts/context.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Context provides a way to pass data through the component tree without having to
1010
When you have a large [component tree](/concepts/components/basics#component-trees) that requires state to be shared, context can be used.
1111
Context can be employed to avoid [prop drilling](/concepts/components/props#prop-drilling), which is the practice of passing props through intermediate elements without using them directly.
1212

13-
If you only want to avoid passing some props through a few levels levels, component composition is often a simpler solution than context.
13+
If you only want to avoid passing some props through a few levels, component composition is often a simpler solution than context.
1414

1515
[Signals](/concepts/signals) are often a simplest solution since they can be imported directly into the components that need them.
1616

0 commit comments

Comments
 (0)