Skip to content

Commit c818487

Browse files
Merge pull request #1324 from moroshko/patch-6
Tip => Note
2 parents 022c1b2 + 451a96c commit c818487

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/hooks-faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ In large component trees, an alternative we recommend is to pass down a `dispatc
560560
const TodosDispatch = React.createContext(null);
561561
562562
function TodosApp() {
563-
// Tip: `dispatch` won't change between re-renders
563+
// Note: `dispatch` won't change between re-renders
564564
const [todos, dispatch] = useReducer(todosReducer);
565565
566566
return (

0 commit comments

Comments
 (0)