Skip to content

Commit 451a96c

Browse files
authored
Tip => Note
"Tip" usually contains an action for you to perform. "Note" is more appropriate here since it's just an FYI.
1 parent a8bf119 commit 451a96c

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
@@ -396,7 +396,7 @@ In large component trees, an alternative we recommend is to pass down a `dispatc
396396
const TodosDispatch = React.createContext(null);
397397
398398
function TodosApp() {
399-
// Tip: `dispatch` won't change between re-renders
399+
// Note: `dispatch` won't change between re-renders
400400
const [todos, dispatch] = useReducer(todosReducer);
401401
402402
return (

0 commit comments

Comments
 (0)