- 28 Feb, 2024 15 commits
-
-
vercel-release-bot authored
-
栗原和也 authored
### What? Fixes https://github.com/vercel/next.js/issues/62525 Closes NEXT-2620 Since codes below do not consider searchParams, `redirect` in server action removes all searchParams passed from client side. https://github.com/vercel/next.js/commit/93e4bb823ccb6452ba591e29a3ec0b258b3a9b5c#diff-c809d50461027cdba7c092e564818b1172133d337abc5c513f829c94c8483dc6R186 So I just add conditional branch for searchParams. --- lint, prettier was applied. Also I have done tests by commands below. and it was all passed. ``` pnpm testonly --testPathPattern "integration" -t "redirect" ``` --------- Co-authored-by:
Zack Tanner <zacktanner@gmail.com>
-
OJ Kwon authored
### What This PR enables lightningcss features in next-swc. Currently this is for the native build targets only, for the wasm there are some unknown build error prevents to enable this. Closes PACK-2607
-
OJ Kwon authored
### What? It doesn't look like we are using these dependencies, remove from cargo manifests. Deploy CI confirms all native builds are passing: https://github.com/vercel/next.js/actions/runs/8074472383 Closes PACK-2609
-
Jiachi Liu authored
### What When you have bad nesting html in your React code, React wil raise hydration error since the browser html parser might parse it to sth else different comparing to server html on client. Previously we're display only the warning in the error description in dev overlay. Now we introduced another format of displaying pesudo html that representing your code, with highlighting the html tag that causes the error. Since React might gives you the whole component stack of React tree, so we also introduced a way that can collapse the error. #### Example https://github.com/vercel/next.js/assets/4800338/622122d6-4d2e-4c8e-95e8-4864343e478b ### Why The reason we added this is that even we show the html diff, it could super large due to React ordering the html on client, so the mismatch might be a lot. The idea here is similar to what you saw when you passed down a bad event handler into server component, we displayed a pesudo html as it could hit your mind faster than just seeing the warning. The best way is to display the source code, but before we can show the source, getting component stack display as pseudo html instead of here could be more helpful. ### After vs Before <img width="400" src="https://github.com/vercel/next.js/assets/4800338/714119ad-ff23-46a9-bc5a-5601eb390e71"> <img width="400" src="https://github.com/vercel/next.js/assets/4800338/575f95fa-889e-4cee-ad19-9c2fea06519a"> Closes NEXT-2621
-
Balázs Orbán authored
Closes #62627, Closes #62610 Closes NEXT-2638
-
Remo Vetere authored
### Problem We've identified a bug within Next.js's pages router when utilizing the shallow routing API, specifically when invoking `router.push` with the `{ shallow: true }` option, like so: ```javascript router.push('/?counter=10', undefined, { shallow: true }); ``` Shallow routing is designed to update the URL without running data fetching methods such as getServerSideProps, getStaticProps, or getInitialProps. However, a side effect of this process is that it skips the clean-up of the cancelHandler. This leads to router error events being fired erroneously, causing confusion and potential stability issues, as the system behaves as if an error occurred when, in fact, none did. ### Solution This PR addresses the issue by modifying the shallow routing logic to also skip the creation of the cancelHandler. Given that shallow routing operations are synchronous and do not involve data fetching or other asynchronous tasks that might need to be canceled, the cancelHandler is unnecessary in this context. fixes #61772 --------- Co-authored-by:Shu Ding <g@shud.in>
-
vercel-release-bot authored
-
Tim Neutkens authored
## What? Currently flight-manifest-plugin relies on looping over all webpack chunk groups and trying to infer the entrypoint name from them, which can be brittle in cases where the chunk group doesn't match exactly with the entrypoint, which happens for the `_not-found` entrypoint for example. This PR changes the implementation to use `compilation.entrypoints` directly. `compilation.entrypoints` is a `Map` where the key is the entrypoint name and the value is the entrypoint chunk group, exactly what this logic was looking for in the current implementation. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: ## For Contributors ### Improving Documentation - Run `pnpm prettier-fix` to fix formatting issues before opening the PR. - Read the Docs Contribution Guide to ensure your contribution follows the docs guidelines: https://nextjs.org/docs/community/contribution-guide ### Adding or Updating Examples - The "examples guidelines" are followed from our contributing doc https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md - Make sure the linting passes by running `pnpm build && pnpm lint`. See https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md ### Fixing a bug - Related issues linked using `fixes #number` - Tests added. See: https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs - Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md ### Adding a feature - Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. (A discussion must be opened, see https://github.com/vercel/next.js/discussions/new?category=ideas) - Related issues/discussions are linked using `fixes #number` - e2e tests added (https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs) - Documentation added - Telemetry added. In case of a feature if it's used or not. - Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md ## For Maintainers - Minimal description (aim for explaining to someone not on the team to understand the PR) - When linking to a Slack thread, you might want to share details of the conclusion - Link both the Linear (Fixes NEXT-xxx) and the GitHub issues - Add review comments if necessary to explain to the reviewer the logic behind a change ### What? ### Why? ### How? Closes NEXT- Fixes # --> Closes NEXT-2637
-
Abhinay Pandey authored
### What? generateSitemaps function returns a 404 for /sitemap/[id].xml in production ### Why? While finding the correct sitemap partition from the array, we check the param against the id. Which works in dev because id and param are both without trailing .xml. But it fails in production as param has a trailing .xml (/sitemap/[id] works in production because it falls back to dynamic loading and param and id are both without .xml) ### How? If we are in production environment, check the id with a trailing .xml because that's whats returned from generateStaticParams, an array of __metadata_id__ with trailing .xml Fixes #61969 --------- Co-authored-by:Jiachi Liu <inbox@huozhi.im>
-
JJ Kasper authored
This ensures we properly transpile `instrumentation.ts` when only `pages` is being used as previously we were relying on the `app` specific loaders which aren't configured when an `app` directory isn't present. We regressed on this in https://github.com/vercel/next.js/pull/60984 as it was working as expected prior to this commit x-ref: [slack thread](https://vercel.slack.com/archives/C011GK1JUBA/p1709075846401649?thread_ts=1706643408.233909&cid=C011GK1JUBA) Closes NEXT-2632
-
Donny/강동윤 authored
### What? * https://github.com/vercel/turbo/pull/7520 <!-- Leah - fix(turbopack): restore `require.resolve` functionality --> * https://github.com/vercel/turbo/pull/7504 <!-- Donny/강동윤 - fix(turbopack): Enable CSS parsing option for legacy nesting syntax --> * https://github.com/vercel/turbo/pull/7528 <!-- Tobias Koppers - add test case for ?: --> * https://github.com/vercel/turbo/pull/7518 <!-- Donny/강동윤 - Update `swc_core` to `v0.90.12` --> * https://github.com/vercel/turbo/pull/7535 <!-- Donny/강동윤 - fix(turbopack): Fix ordering of `IssueStage`s --> * https://github.com/vercel/turbo/pull/7406 <!-- Leah - fix(turbopack-core): don't resolve exports field in folders --> * https://github.com/vercel/turbo/pull/7537 <!-- Donny/강동윤 - feat(turbopack): Add `JsValue::TypeOf` --> * https://github.com/vercel/turbo/pull/7527 <!-- Tobias Koppers - implement handling for alias field resolving in more cases --> * https://github.com/vercel/turbo/pull/7539 <!-- Tobias Koppers - add external require back to edge runtime --> ### Why? To keep in sync ### How? --------- Co-authored-by:
Tobias Koppers <tobias.koppers@googlemail.com>
-
Donny/강동윤 authored
### What? Update swc crates. ### Why? To apply https://github.com/swc-project/swc/pull/8657 ### How? Closes PACK-2579
-
Donny/강동윤 authored
### What? Run transforms with the tokio context so Wasmer works properly. ### Why? To allow invoking Wasm plugins. `wasmer` had a breaking change. ### How? Closes PACK-2587 Closes #62081 --------- Co-authored-by:hrmny <8845940+ForsakenHarmony@users.noreply.github.com>
-
JJ Kasper authored
This moves the locale redirect handling out of `base-server` as it shouldn't be handled here and should be at the routing level. This avoids the duplicate handling with middleware that causes the incorrect detection/infinite looping. Test case from separate PR was carried over to prevent regression. Fixes: https://github.com/vercel/next.js/issues/55648 Closes: https://github.com/vercel/next.js/pull/62435 Closes: NEXT-2627 Closes: NEXT-2628 --------- Co-authored-by:
Nourman Hajar <nourmanhajar@gmail.com> Co-authored-by:
samcx <sam@vercel.com>
-
- 27 Feb, 2024 18 commits
-
-
Jiachi Liu authored
### What Change from processing the file with `next-metatdata-route-loader` directly into passing the file as loader query, and leave an empty resource file for it. This will resolve the error that users were seeing with `manifest.json` convention. ``` Import trace for requested module: ../../../../packages/next/dist/build/webpack/loaders/next-metadata-route-loader.js?page=%2Fmanifest.jso n%2Froute&isDynamic=0!./app/manifest.json?__next_metadata_route__ getStaticAssetRouteCode page /manifest.json/route this.resourcePath /Users/huozhi/workspace/next.js/tes t/e2e/app-dir/metadata-json-manifest/app/manifest.json ``` ### Why I looked at the loader process that the final resource processed by webpack is `json!next-metadata-route-loader...`, which means the builtin json loader processing json file after the metadata route loader. I didn't get chance to solve the ordering issue, so I changed the resourcePath to empty "", and pass the file path as query into the loader to avoid json-loader processing it after transpilation. Fixes #59923 Closes NEXT-2630 Closes NEXT-2439
-
vercel-release-bot authored
-
JJ Kasper authored
This ensures our dynamic routes that have the same specificity as `_next/static/:path*` don't get matched unexpectedly when the `_next/static` asset doesn't exist. We were holding off on making this change explicit due to compatibility concerns but these are no longer a concern and the unexpected matching is more of a concern. Closes: CSM-11 Fixes: https://github.com/vercel/next.js/issues/19270 Closes NEXT-2613
-
Balázs Orbán authored
### What? Fix the `with-cypress` example build errors. ### Why? `next build` is broken. ### How? exclude tests from compilation, fix import Fixes #50124 Closes NEXT-2629
-
Jiachi Liu authored
### What Fixes `redirect()` call under suspense boundary, redirect url should include the `basePath` in the url. ### Why `redirect()` under suspense boundaries will go through server html insertion, which is being used every time by suspense boundary resolved, new errors will triggered from SSR streaming. It was missing before. Fixes NEXT-2615 Fixes #62407
-
Avery Morin authored
Linked react docs explicitly advise not to use low-entropy values such as phone numbers with the taintUniqueValue API. https://react.dev/reference/react/experimental_taintUniqueValue#caveats > Do not use taintUniqueValue to protect low-entropy values such as PIN codes or phone numbers. If any value in a request is controlled by an attacker, they could infer which value is tainted by enumerating all possible values of the secret. PS Sorry for the tiny change but this threw me off when I read it.
-
Zack Tanner authored
This test pretty consistently fails locally and in CI with the following error in the request handler: > Target page, context or browser has been closed [x-ref](https://github.com/vercel/next.js/actions/runs/8069442877/job/22047444250#step:27:798) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: ## For Contributors ### Improving Documentation - Run `pnpm prettier-fix` to fix formatting issues before opening the PR. - Read the Docs Contribution Guide to ensure your contribution follows the docs guidelines: https://nextjs.org/docs/community/contribution-guide ### Adding or Updating Examples - The "examples guidelines" are followed from our contributing doc https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md - Make sure the linting passes by running `pnpm build && pnpm lint`. See https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md ### Fixing a bug - Related issues linked using `fixes #number` - Tests added. See: https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs - Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md ### Adding a feature - Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. (A discussion must be opened, see https://github.com/vercel/next.js/discussions/new?category=ideas) - Related issues/discussions are linked using `fixes #number` - e2e tests added (https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs) - Documentation added - Telemetry added. In case of a feature if it's used or not. - Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md ## For Maintainers - Minimal description (aim for explaining to someone not on the team to understand the PR) - When linking to a Slack thread, you might want to share details of the conclusion - Link both the Linear (Fixes NEXT-xxx) and the GitHub issues - Add review comments if necessary to explain to the reviewer the logic behind a change ### What? ### Why? ### How? Closes NEXT- Fixes # --> Closes NEXT-2626
-
Balázs Orbán authored
### What? If the user is logged in and on the dashboard, no need to redirect. ### Why? #62547 ### How? We still want to redirect to the dashboard from other routes, if the user is logged in already. Fixes #62547, also related #62548 Closes NEXT-2619
-
Balázs Orbán authored
### What? We should treat the warning for CSR bailout the same as the hard-error, and show the stack trace for either case. ### Why? It might be useful to track down the source of this warning. ### How? We have the stack info already, but we only showed it during the error logging. We should show it for warnings too. This is similar to #61200 Closes NEXT-2624
-
Zack Tanner authored
We currently use an infinite promise to indefinitely suspend while waiting for something else to happen (new data from a server response, or an MPA navigation finally resolving). We don't need to create a new promise every time we do this, and instead can leverage a shared "thenable" that will never actually resolve. The primary motivation for this is that `use` shouldn't be called with a new promise value between renders as described in the [RFC](https://github.com/acdlite/rfcs/blob/first-class-promises/text/0000-first-class-support-for-promises.md). <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: ## For Contributors ### Improving Documentation - Run `pnpm prettier-fix` to fix formatting issues before opening the PR. - Read the Docs Contribution Guide to ensure your contribution follows the docs guidelines: https://nextjs.org/docs/community/contribution-guide ### Adding or Updating Examples - The "examples guidelines" are followed from our contributing doc https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md - Make sure the linting passes by running `pnpm build && pnpm lint`. See https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md ### Fixing a bug - Related issues linked using `fixes #number` - Tests added. See: https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs - Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md ### Adding a feature - Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. (A discussion must be opened, see https://github.com/vercel/next.js/discussions/new?category=ideas) - Related issues/discussions are linked using `fixes #number` - e2e tests added (https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs) - Documentation added - Telemetry added. In case of a feature if it's used or not. - Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md ## For Maintainers - Minimal description (aim for explaining to someone not on the team to understand the PR) - When linking to a Slack thread, you might want to share details of the conclusion - Link both the Linear (Fixes NEXT-xxx) and the GitHub issues - Add review comments if necessary to explain to the reviewer the logic behind a change ### What? ### Why? ### How? Closes NEXT- Fixes # --> Closes NEXT-2625
-
Donny/강동윤 authored
### What? Sort issues emitted by turbopack. ### Why? Make it deterministic and testable ### How? Closes PACK-2440 turbopack counterpart: https://github.com/vercel/turbo/pull/7519 --------- Co-authored-by:
Tobias Koppers <tobias.koppers@googlemail.com>
-
Zach Bloomquist authored
Addresses #57066 Currently, a user running `next start` on an un-built Next.js project receives a confusing uncaught error before the process just ends: ``` ▲ Next.js 14.1.0 - Local: http://localhost:3000 [Error: ENOENT: no such file or directory, open '/home/flotwig/src/project/.next/BUILD_ID'] { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/flotwig/src/project/.next/BUILD_ID' } ``` In my case, I ran into this because I had not worked with Next.js for a while, and I forgot that `next dev` was used for local development, not `next start`. I believe many of the confused users in #57066 are making a similar mistake and not realizing it, due to the error message. This PR catches an `ENOENT` when reading `BUILD_ID` and suggests that the user `next build` or `next dev` to remove this friction point: ``` ▲ Next.js 14.1.1-canary.69 - Local: http://localhost:3000 Error: Could not find a production build in the '.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id at setupFsCheck (/home/flotwig/src/next.js/packages/next/src/server/lib/router-utils/filesystem.ts:157:13) at initialize (/home/flotwig/src/next.js/packages/next/src/server/lib/router-server.ts:90:21) at Server.<anonymous> (/home/flotwig/src/next.js/packages/next/src/server/lib/start-server.ts:295:28) ``` A few things probably need to be resolved before this PR can merge, I would appreciate any input from Next.js maintainers. - [x] Is this the best place to catch this? I am not familiar with the Next.js codebase, so I just caught this in the most obvious way. - [x] Can the error message be improved? - [x] Add a test for the error in `test/development` --------- Co-authored-by:
JJ Kasper <jj@jjsweb.site>
-
vercel-release-bot authored
-
Zack Tanner authored
### What When the popstate action is fired (as is the case in a browser back button), if the page you're going back to has missing cache node data, the router will crash. ### Why Almost all router actions will suspend at the app-router level with the exception of `ACTION_RESTORE`. This was to address an issue where suspending in the router would add enough delay for browser scroll restoration behavior not to work. As a result, when going back to the page with missing data, app-router wouldn't suspend but layout-router would suspend on the missing data while triggering a lazy fetch. We trigger a server-patch with the applied lazy data, but when React replays the render, it will replay the branch without the cache node data applied. This results in the router getting caught in a loop of suspending, applying the cache node, replaying the branch without the cache node, and eventually crashing due to an error thrown by React to prevent re-suspending indefinitely. ### How This adds a property to the cache node to signal if the lazy data has been resolved. If it has been, we won't call the server patch action again. Fixes #61336 Closes NEXT-2438
-
vercel-release-bot authored
-
Shu Ding authored
Currently to redirect to another RSC route of the same app, we initiate another request to that route. This PR changes that request to directly use the internal hostname of the current server handler, rather than relying on other headers. Closes NEXT-2614
-
Balázs Orbán authored
Closes NEXT-2623
-
Balázs Orbán authored
-
- 26 Feb, 2024 7 commits
-
-
vercel-release-bot authored
-
nhducit authored
<!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: ## For Contributors ### Improving Documentation - Run `pnpm prettier-fix` to fix formatting issues before opening the PR. - Read the Docs Contribution Guide to ensure your contribution follows the docs guidelines: https://nextjs.org/docs/community/contribution-guide ### Adding or Updating Examples - The "examples guidelines" are followed from our contributing doc https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md - Make sure the linting passes by running `pnpm build && pnpm lint`. See https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md ### Fixing a bug - Related issues linked using `fixes #number` - Tests added. See: https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs - Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md ### Adding a feature - Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. (A discussion must be opened, see https://github.com/vercel/next.js/discussions/new?category=ideas) - Related issues/discussions are linked using `fixes #number` - e2e tests added (https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs) - Documentation added - Telemetry added. In case of a feature if it's used or not. - Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md ## For Maintainers - Minimal description (aim for explaining to someone not on the team to understand the PR) - When linking to a Slack thread, you might want to share details of the conclusion - Link both the Linear (Fixes NEXT-xxx) and the GitHub issues - Add review comments if necessary to explain to the reviewer the logic behind a change ### What? ### Why? ### How? Closes NEXT- Fixes # --> TODO: update description Co-authored-by:
JJ Kasper <jj@jjsweb.site>
-
Shu Ding authored
The `experimental-edge` config is no longer needed:  This PR:  Closes NEXT-2580
-
Jiachi Liu authored
### React upstream changes - https://github.com/facebook/react/pull/28438 - https://github.com/facebook/react/pull/28436 - https://github.com/facebook/react/pull/25954 - https://github.com/facebook/react/pull/28434 - https://github.com/facebook/react/pull/28433 - https://github.com/facebook/react/pull/28432 - https://github.com/facebook/react/pull/28415 - https://github.com/facebook/react/pull/27903 - https://github.com/facebook/react/pull/28430 - https://github.com/facebook/react/pull/28424 - https://github.com/facebook/react/pull/28400 - https://github.com/facebook/react/pull/28422 - https://github.com/facebook/react/pull/28423 - https://github.com/facebook/react/pull/28412 - https://github.com/facebook/react/pull/28418 - https://github.com/facebook/react/pull/28421 - https://github.com/facebook/react/pull/28417 - https://github.com/facebook/react/pull/28399 - https://github.com/facebook/react/pull/28408 - https://github.com/facebook/react/pull/28350 - https://github.com/facebook/react/pull/28387 - https://github.com/facebook/react/pull/28403 - https://github.com/facebook/react/pull/28384 - https://github.com/facebook/react/pull/28409 - https://github.com/facebook/react/pull/28398 - https://github.com/facebook/react/pull/28405 - https://github.com/facebook/react/pull/28328 - https://github.com/facebook/react/pull/28402 - https://github.com/facebook/react/pull/28386 - https://github.com/facebook/react/pull/28388 - https://github.com/facebook/react/pull/28379 - https://github.com/facebook/react/pull/28383 - https://github.com/facebook/react/pull/28390 - https://github.com/facebook/react/pull/28389 - https://github.com/facebook/react/pull/28382 - https://github.com/facebook/react/pull/28348 Closes NEXT-2600
-
dongwon kim authored
## What? To avoid the default `favicon.ico` request by the browser, we are adding a vercel `favicon.ico` to the project. Currently, we handle exceptions for `favicon.ico` entering the Dynamic Route `[lang]` in the following manner, but in this case, favicon.ico renders the entire page. [example:app-dir-i18n-routing](https://github.com/vercel/next.js/blob/canary/examples/app-dir-i18n-routing/get-dictionary.ts#L12) ```ts export const getDictionary = async (locale: Locale) => dictionaries[locale]?.() ?? dictionaries.en(); ``` Instead of `favicon.ico`, the full HTML of the default language 'en' is rendered.  In the correct case  Fixes https://github.com/vercel/next.js/issues/46918Co-authored-by:
Sam Ko <sam@vercel.com>
-
Ye Zhu authored
Within the document [docs/02-app/02-api-reference/01-components/link.mdx](https://github.com/zhuyedev/next.js/blob/canary/docs/02-app/02-api-reference/01-components/link.mdx#L327), there is an unnecessary set of `<PagesOnly>` tags, which prevents a few sections from being displayed correctly.This issue particularly affects the section starting with "### If the child is a custom component that wraps an <a> tag" (in line 327) and ending just before "### Middleware" (in line 458). Co-authored-by:
Sam Ko <sam@vercel.com>
-
Natt Nguyen ツ authored
Updated the code snippet in the `README.md` to reflect information on the documentation website. Reference: https://nextjs.org/docs/app/api-reference/create-next-app#non-interactiveCo-authored-by:
Sam Ko <sam@vercel.com>
-