minor edit suggestions for React Foundations
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- react, typescript
- Domain
- documentation
Research direction
Use the Chapter 6 and Chapter 7 links in the issue as the entry points, then locate the source for their code samples in the repository. Remove the duplicated names.map() snippet, correct the Likes button text and spacing, and adjust highlighting so only the button line is highlighted; confirm both chapters render with the intended examples.
Written by the indexing model from the issue text.
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.
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from vercel/next-learn
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
vercel/next-learn#1326 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 76/100
vercel/next-learn#1316 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
vercel/next-learn#1297 · 2 reactions ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
vercel/next-learn#1136 · 2 comments · 1 reaction ·
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
vercel/next-learn#1106 · 2 reactions ·
All issues in vercel/next-learn
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100