You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When visiting a page that uses deferred props and doing a request using useForm, the following error occurs:
"TypeError: Cannot read properties of undefined (reading 'version')"
The error results in the deferred props staying undefined, which is the actual issue.
Run the react playground environment with the 2.0.3 core as described in the contributor guide.
Visit the Defer page and have a look in the console. You should see the error and the deferred props not being sent to the frontend, therefore staying at "Loading..."
The text was updated successfully, but these errors were encountered:
The hydration problem can be ignored as it comes with the playground environment itself.
Verox001
changed the title
TypeError: Cannot read properties of undefined (reading 'version')
TypeError: Cannot read properties of undefined (reading 'version') results in DeferredProps not loading in
Jan 30, 2025
Version:
@inertiajs/react
version: 2.0.3Describe the problem:
When visiting a page that uses deferred props and doing a request using useForm, the following error occurs:
"TypeError: Cannot read properties of undefined (reading 'version')"
The error results in the deferred props staying undefined, which is the actual issue.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: