After performing a fresh Laravel installation with Breeze, selecting the Inertia.js/React stack with Server-Side Rendering (SSR) results in the following errors only in production. If I change from hydrateRoot to createRoot I get no errors, which is expected. Even If I create a blank page with a <div></div> the errors are still there.
Error: Minified React error 418
Details: Visit React Error Decoder for the full message or use the non-minified development environment for complete error details and additional helpful warnings.
Error: Minified React error 423
Details: Visit React Error Decoder for the full message or use the non-minified development environment for complete error details and additional helpful warnings.
Steps to reproduce:
laravel new app
- Laravel Breeze
- React with Inertia
- Inertia SSR and Typescript
Version:
@inertiajs/react
version: 1.0.0 and I tried 1.2.0Describe the problem:
After performing a fresh Laravel installation with Breeze, selecting the Inertia.js/React stack with Server-Side Rendering (SSR) results in the following errors only in production. If I change from
hydrateRoot
tocreateRoot
I get no errors, which is expected. Even If I create a blank page with a<div></div>
the errors are still there.Error: Minified React error 418 Details: Visit React Error Decoder for the full message or use the non-minified development environment for complete error details and additional helpful warnings.
Error: Minified React error 423 Details: Visit React Error Decoder for the full message or use the non-minified development environment for complete error details and additional helpful warnings.
Steps to reproduce:
package.json
comoposer.json