Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update reactStrictMode.mdx enabled since 13.5.1 #70557

Merged
merged 2 commits into from
Sep 28, 2024
Merged

Conversation

Luk-z
Copy link
Contributor

@Luk-z Luk-z commented Sep 27, 2024

Spent over 2 hours checking why with 13.4.19 components didn't mount twice as the docs says "Good to know: Since Next.js 13.4, Strict Mode is true by default with app router".

But it's enabled by default in 13.5.1.

Version 13.5.0 has no changelog?

Maybe reactStrictMode it's enabled by default since 13.5.0 instead 13.5.1 ?

Fixes: #70559

@ijjk ijjk added the Documentation Related to Next.js' official documentation. label Sep 27, 2024
@ijjk
Copy link
Member

ijjk commented Sep 27, 2024

Allow CI Workflow Run

  • approve CI run for commit: 5903ed3

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

1 similar comment
@ijjk
Copy link
Member

ijjk commented Sep 27, 2024

Allow CI Workflow Run

  • approve CI run for commit: 5903ed3

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@Luk-z
Copy link
Contributor Author

Luk-z commented Sep 27, 2024

fix 70559

Copy link
Member

@ijjk ijjk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks!

@ijjk ijjk enabled auto-merge (squash) September 28, 2024 21:10
@ijjk ijjk merged commit d828c19 into vercel:canary Sep 28, 2024
38 checks passed
abhi12299 pushed a commit to abhi12299/next.js that referenced this pull request Sep 29, 2024
Spent over 2 hours checking why with 13.4.19 components didn't mount
twice as the docs says "Good to know: Since Next.js 13.4, Strict Mode is
true by default with app router".

But it's enabled by default in
[13.5.1](https://github.com/vercel/next.js/releases/tag/v13.5.1).

Version [13.5.0](https://github.com/vercel/next.js/releases/tag/v13.5.0)
has no changelog?

Maybe reactStrictMode it's enabled by default since 13.5.0 instead
13.5.1 ?

Fixes: vercel#70559

Co-authored-by: JJ Kasper <[email protected]>
@Luk-z Luk-z deleted the patch-1 branch September 30, 2024 07:42
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Documentation Related to Next.js' official documentation. locked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docs: reactStrictMode.mdx enabled since 13.5.1 not 13.4
2 participants