Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #289 from bjalar/patch-1
Browse files Browse the repository at this point in the history
Fix typos in stores_context/lesson.md
  • Loading branch information
edemaine authored Jun 1, 2024
2 parents e50c01e + 6bf5352 commit 883f25e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion langs/en/tutorials/stores_context/lesson.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Solid provides a Context API to pass data around without relying on passing through props. This is useful for sharing Signals and Stores. Using Context has the benefit of being created as part of the reactive system and managed by it. Context is also useful when have a need to "override" your state in a certains part of the component tree.
Solid provides a Context API to pass data around without relying on passing through props. This is useful for sharing Signals and Stores. Using Context has the benefit of being created as part of the reactive system and managed by it. Context is also useful when you have a need to "override" your state in a certain part of the component tree.

To get started we create a Context object. This object contains a `Provider` component used to inject our data. However, it is common practice to wrap the `Provider` components and `useContext` consumers with versions already configured for the specific Context.

Expand Down

0 comments on commit 883f25e

Please sign in to comment.