vercel / vercel/next-learn

Chapter 12: Wrong lines highlighted

Open
#995 0 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
4.8k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

In Chapter 12: Mutating Data, there are several lines highlighted incorrectly:

Creating an invoice

5. Inserting the data into your database

Lines 2, 4 and 17-20 should be highlighted

Image
6. Revalidate and redirect

Lines 4 and 25 should be highlighted

Image

Lines 5 and 16 should be highlighted

Image

Updating an invoice

2. Read the invoice id from page params

Lines 5-7 should be highlighted

Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the linked Chapter 12: Mutating Data lesson and inspect the code examples in the named sections. Correct the highlighted line ranges for creating and updating an invoice, then verify that each listed section highlights exactly the requested lines.

Written by the indexing model from the issue text.

Assessment

Tech stack
next.js
Domain
documentation
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.