next-learn
next-learn copied to clipboard
Learn Next.js Starter Code
Hi Next.js team, I noticed that on the [Mutating Data](https://nextjs.org/learn/dashboard-app/mutating-data) page, highlighted lines appear incorrectly from the middle of the page onward. It seems like the formatting might be off,...
Hi, I got this error when I try to install dashboard example with **corepack enabled**: `$ npx create-next-app@latest nextjs-dashboard --example "https://github.com/vercel/next-learn/tree/main/dashboard/starter-example" --use-pnpm ` `$ pnpm install ` > /Users/julien/.nvm/versions/node/v20.18.2/lib/node_modules/corepack/dist/lib/corepack.cjs:21535 >...
Next.js a <select> with a list of <option> components resetting its value when the form is submitted
In chapter 14 (Improving Accessibility) there is a strange behavior for select with a list of option components. The select element's value is not persisting after submitting the form even...
 Hi there, I have faced an error while creating a project. This is a file in the route.js. I am using prisma database to connect. I have checked all...
Hello. Thank you for the awesome tutorial ☺️ **What's the issue ?** In the "Implementing Partial Prerendering" section of the documentation, it states: > "Enable PPR for your Next.js app...
 but works on localhost:3000 Does anyone experience the same issue?
Try/Catch blocks should not be used to handle success conditions ``` 'use server'; import { signIn } from '@/auth'; import { AuthError } from 'next-auth'; // ... export async function...
The returned array from `fetchRevenue` in data.ts has unordered months, which results in an unordered Revenue chart Database: Supabase Result: 
The `createInvoice()` and `updateInvoice()` actions in `actions.ts` convert the dollar amount to cents, but the result should be rounded because of floating point error. ``` const amountInCents = Math.round(amount *...
In [Chapter 12: Mutating Data](https://nextjs.org/learn/dashboard-app/mutating-data), there are several lines highlighted incorrectly: ## [Creating an invoice](https://nextjs.org/learn/dashboard-app/mutating-data#creating-an-invoice) ### [5. Inserting the data into your database](https://nextjs.org/learn/dashboard-app/mutating-data#5-inserting-the-data-into-your-database) Lines 2, 4 and 17-20 should be...