Skip to content

Commit 2203792

Browse files
authored
chore(docs): fix full hoc grammar (#534)
1 parent 0d94cb6 commit 2203792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/hoc/full-example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_label: Full HOC Example
44
title: "Full HOC Example"
55
---
66

7-
> This is an HOC example for you to copy and paste. If you certain pieces don't make sense for you, head to [the React HOC Docs intro](https://react-typescript-cheatsheet.netlify.app/docs/hoc/react_hoc_docs/) to get a detailed walkthrough via a complete translation of the React docs in TypeScript.
7+
> This is an HOC example for you to copy and paste. If certain pieces don't make sense for you, head to [the React HOC Docs intro](https://react-typescript-cheatsheet.netlify.app/docs/hoc/react_hoc_docs/) to get a detailed walkthrough via a complete translation of the React docs in TypeScript.
88
99
Sometimes you want a simple way to inject props from somewhere else (either a global store or a provider) and don't want to continually pass down the props for it. Context is great for it, but then the values from the context can only be used in your `render` function. A HoC will provide these values as props.
1010

0 commit comments

Comments
 (0)