Sam Ko and GitHub
8dd0b56fb6
docs(errors): update suppressHydrationWarning section ( #76521 )
...
## Why?
We should clarify that React will **not** attempt to patch mismatched text content when using `suppressHydrationWarning`.
- Related: https://github.com/reactjs/react.dev/pull/7651
- x-ref: https://github.com/vercel/next.js/discussions/75890
2025-02-26 12:11:59 -08:00
e5ce54de0b
docs: use relative urls ( #72941 )
...
## Description
Follow up #52038 .
Remove `https://nextjs.org ` from URL in [error
pages](https://github.com/vercel/next.js/tree/canary/errors ).
### Improving Documentation
- [x] Run `pnpm prettier-fix` to fix formatting issues before opening
the PR.
- [x] Read the Docs Contribution Guide to ensure your contribution
follows the docs guidelines:
https://nextjs.org/docs/community/contribution-guide
---------
Co-authored-by: Delba de Oliveira <[email protected] >
2024-11-19 08:58:29 +00:00
fbb3a766e7
Update Cloudflare Auto Minify link due to feature deprecation ( #72417 )
...
This PR updates the link for the Cloudflare Auto Minify feature, as it
has been deprecated. Cloudflare now recommends disabling this feature to
avoid potential issues. The link and related references have been
modified to reflect this update and ensure accurate information for
users.
Co-authored-by: Delba de Oliveira <[email protected] >
2024-11-07 08:52:56 +00:00
203f6a8691
Update react-hydration-error.mdx ( #63455 )
...
Adding a very common cause for hydration errors
---------
Co-authored-by: Sam Ko <[email protected] >
2024-03-19 21:41:28 +00:00
2c9af97a35
docs: fix punctuation ( #63223 )
...
The word "etc." is always spelled with a period.
Co-authored-by: Steven <[email protected] >
2024-03-13 10:09:25 -04:00
Murat Ogulcan Sahin and GitHub
e7589e05db
docs:Add react hydration error case. ( #59147 )
2023-12-02 08:35:22 +00:00
16a5aa74d0
feature: Update cases in [Incorrect nesting of HTML tags] ( #53282 )
...
It took me much time to debug this issue during my development process, and since the error logs(you can see below) given are not very clear, I hope it will help others who encounter the same problem.
<img width="954" alt="image" src="https://github.com/vercel/next.js/assets/1228449/69fd949e-f396-44e3-833c-8e7bbf080492 ">
ref:
- [Are you allowed to nest a link inside of a link?](https://stackoverflow.com/questions/9882916/are-you-allowed-to-nest-a-link-inside-of-a-link )
- [Interactive Content](https://html.spec.whatwg.org/#interactive-content-2 )
<img width="1283" alt="image" src="https://github.com/vercel/next.js/assets/1228449/db864080-14fd-45e1-9468-54365c6afddc ">
Co-authored-by: Steven <[email protected] >
2023-07-28 18:12:15 +00:00
Anthony Shew and GitHub
b89424e461
docs: Add missing closing tag for react hydration error message. ( #52607 )
2023-07-13 00:22:10 +02:00
8360ca0332
docs: add CDN optimization as possible hydration error cause ( #52489 )
...
At my work, we use Cloudflare as our CDN, and it has various optimization options for the served code including the "Auto Minify" feature that can minify JS, HTML and CSS to reduce download speed. After months of trying to update React to version 18, I have finally found out that the "Auto Minify" was the root cause of the problem, not anything in our code such as invalid tag nesting or printing dates. Because of that, I thought it would be helpful to add CDN as a possible place for investigating hydration errors.
Co-authored-by: Steven <[email protected] >
2023-07-10 16:09:12 +00:00
Lee Robinson and GitHub
4f8f9ae5b0
docs: Improve hydration mismatch error guide. ( #52481 )
2023-07-09 20:41:42 -07:00
Delba de Oliveira and GitHub
44d1a1cb15
docs: Migrate error messages to MDX and App Router. ( #52038 )
...
This PR is part of a larger effort to migrate error messages to MDX and
use App Router: https://github.com/vercel/front/pull/23459
2023-07-05 06:11:16 -07:00