chapter 12 :Creating an invoice
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
I have reached chapter 12 Mutating Data.
In Creating an invoice,
when 3: Extract the data from formdata
I follow the code:
// Test it out:
console.log(rawFormData);
but I can't find any log
I continue to the last. It should redirect, but nothing happen.
I guess async function createInvoice(formData: FormData) not be reached.
But I don't know how to fix it.
the code is on
https://github.com/liwenz/nextjs-dashboard
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.
Research direction
Start with chapter 12, “Creating an invoice,” in the linked nextjs-dashboard repository and inspect the createInvoice(formData) step around the rawFormData console log. Reproduce the missing log and redirect, then determine whether the form reaches that function; done means the logged form data appears and the tutorial flow redirects as described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- next.js, typescript
- Domain
- full-stack
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100