next-learn icon indicating copy to clipboard operation
next-learn copied to clipboard

Learn Next.js Starter Code

Results 275 next-learn issues
Sort by recently updated
recently updated
newest added

In [Chapter 7](https://nextjs.org/learn/dashboard-app/fetching-data), there is a concern highlighted: > "By default, Next.js prerenders routes to improve performance; this is called Static Rendering. So if your data changes, it won't be...

### What is the documentation issue? No _formatting_ on **important** keywords _e.g_ `terminal`. ### Is there any context that might help us understand? Firing up the good-old `console.log()` in a...

documentation

Chapter 12 uses the `revalidatePath` function which is marked as deprecated in: ``` _node_modules/.pnpm/[email protected][email protected][email protected]_f7vxvinj2tmc3s2kx24vpyvnma/node_modules/next/dist/server/web/spec-extension/revalidate.d.ts_ ``` ``` /** * @deprecated this function has been deprecated in favor of expirePath() * This...

this massage uncaughtException: Error: Connection terminated unexpectedly at un. (D:\search\lab\learn\nextjs-dashboard\next-dashboard\learn-next\.next\server\chunks\node_modules__pnpm_c4c50d._.js:9496:77) at Object.onceWrapper (D:\search\lab\learn\nextjs-dashboard\next-dashboard\learn-next\.next\server\chunks\node_modules__pnpm_c4c50d._.js:6628:141) at un.emit (D:\search\lab\learn\nextjs-dashboard\next-dashboard\learn-next\.next\server\chunks\node_modules__pnpm_c4c50d._.js:6598:37) at x. (D:\search\lab\learn\nextjs-dashboard\next-dashboard\learn-next\.next\server\chunks\node_modules__pnpm_c4c50d._.js:9340:19) at x.emit (D:\search\lab\learn\nextjs-dashboard\next-dashboard\learn-next\.next\server\chunks\node_modules__pnpm_c4c50d._.js:6598:37) at WebSocket. (D:\search\lab\learn\nextjs-dashboard\next-dashboard\learn-next\.next\server\chunks\node_modules__pnpm_c4c50d._.js:8601:26) at callListener (D:\search\lab\learn\nextjs-dashboard\next-dashboard\learn-next\.next\server\chunks\node_modules__pnpm_c4c50d._.js:13128:18) at WebSocket.onClose...

Otherwise it breaks the application on chapter 10 of the learn docs: https://nextjs.org/learn/dashboard-app/partial-prerendering , when you implement partial-prerendering incremental config.

I tried creating the folder query and and file route.ts and pasted the code in route.ts SELECT invoices.amount, customers.name FROM invoices JOIN customers ON invoices.customer_id = customers.id WHERE invoices.amount =...

I think it will be beneficial to add some notes regarding where to place middleware according to their project structure, using `src` or just `app` just in case a person...

https://nextjs.org/learn-pages-router/basics/data-fetching/two-forms has a 404 on link https://nextjs.org/docs/basic-features/pages#static-generation-recommended reported here before https://github.com/vercel/next.js/discussions/72596#discussioncomment-11224887

I uncomment the app/seed/route file and run the pnpm command and get this error. ``` PS C:\Users\xero\start\dash> pnpm i @vercel/postgres  WARN  6 deprecated subdependencies found: [email protected], [email protected], [email protected], [email protected], [email protected],...