Skip to content

Conversation

gcavanunez
Copy link
Contributor

Changes

Wraps the root in <StrictMode> to help raise common bugs during development.

Notes

I think it wasn't included originally given inertia had some quirks with the <Head> component not working great in strict mode, but I think though caveats have been resolved since. Here is also more info about strict mode from the react docs.

Thanks a bunch for maintaining!

@gcavanunez gcavanunez changed the title adds strict mode to the root node Adds strict mode to the root node Oct 17, 2025
@joetannenbaum joetannenbaum merged commit bdae510 into laravel:main Oct 20, 2025
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants