You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hooks/04_Callback/Readme.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# 04 Callback + State
2
2
3
-
In this example we refactor the previous **03 State** example.
3
+
In this example we will refactor the previous **03 State** example.
4
4
5
5
We will update the name property only when the user clicks a _change_ button, and we will simplify the prop callback signature.
6
6
@@ -14,7 +14,7 @@ Obviously, we take the example **03 State** as a starting point.
14
14
15
15
## Prerequisites
16
16
17
-
Install [Node.js and npm](https://nodejs.org/en/) (v6.6.0) if they are not already installed on your computer.
17
+
Install [Node.js and npm](https://nodejs.org/en/) (v6.6.0 or higher) if they are not already installed on your computer.
18
18
19
19
> Verify that you are running at least node v6.x.x and npm 3.x.x by running `node -v` and `npm -v` in a terminal/console window. Older versions may produce errors.
0 commit comments