Skip to content

Commit 2422129

Browse files
authored
Update README.md
1 parent f6c4a16 commit 2422129

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function useEffect(cb, deps) {
153153
React uses ```Object.is()``` under the hood to compare values.
154154
For any further useEffect functions inside our component, we increment the index so it can store its own dependencies at the next index in the hooks array.
155155

156-
Now, let's write a basic React Component, we will monitor the value of global.hooks and index at each step.
156+
Now, let's write a basic React Component, we will monitor the value of ```global.hooks``` and ```index``` at each step.
157157

158158

159159

0 commit comments

Comments
 (0)