-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Description
In Chapter 6 Displaying Data with Props (https://nextjs.org/learn/react-foundations/displaying-data-with-props), in the code sample where the array names
is added, you should probably not have the names.map()
code present because it's added and described in the next code sample.
In Chapter 7 Adding Interactivity with State (https://nextjs.org/learn/react-foundations/updating-state), in the code sample that follows "Then, you can check the initial state is working..." there are two issues:
- The text for the
<button>
should beLikes ({likes})
(like the next code sample) instead ofLike({likes})
("Like" instead of "Likes", no space before parenthesis) - The
// ...
lines are highlighted, but I don't think that was the intention. It should probably just be the<button>
line.
Metadata
Metadata
Assignees
Labels
No labels