From 15a8e0ee72fd48f5abcdffb9c1c26f8c91d5360e Mon Sep 17 00:00:00 2001 From: tepythai Date: Fri, 29 Nov 2019 00:31:54 +0900 Subject: [PATCH] Fix typo in XX-migrating.md (#3136) In ### Hooks section, I suppose it is "they use React's Context API" rather than "the use React's Content API". Please ignore this if it is not a typo. Thanks. --- docs/concepts/XX-migrating.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/concepts/XX-migrating.md b/docs/concepts/XX-migrating.md index 4cd96bc47..bef57aeaa 100644 --- a/docs/concepts/XX-migrating.md +++ b/docs/concepts/XX-migrating.md @@ -58,7 +58,7 @@ Previously the `` component was doing double duty as a sort of "controll ### Hooks -In addition to the `useSlate` hook, there are a handful of other hooks. For example the `useSelected` and `useFocused` hooks help with knowing when to render selected states (often for void nodes). And since the use React's Content API they will automatically re-render when their state changes. +In addition to the `useSlate` hook, there are a handful of other hooks. For example the `useSelected` and `useFocused` hooks help with knowing when to render selected states (often for void nodes). And since they use React's Context API they will automatically re-render when their state changes. ### `beforeinput`