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
It's not the end of the world, but is a bit annoying.
The text was updated successfully, but these errors were encountered:
ncphillips
changed the title
Inertia 2.0 unlisted breaking change
Partial Reloads no longer work as documented in Inertia 2.0 - Unlisted breaking change
Jan 2, 2025
We have some pages that do partial reloads so we don't unmount certain parts of our UI.
For example, courses have many assignments. If we're switching from assignment to assignment we want to avoid reloading the course data.
In the
Assignment/Show
template we have a link using Ziggy:According to the docs
course
will always be sent on first request, but if theonly
prop is sent than it would be left out.This works in Inertia 1.0
With the upgrade to 2.0 this stops working. Ziggy explodes telling me that
course
is undefined.When I log out
props.course
then I see that the course is an empty proxy:It seems to me like Inertia is now treating:
like this
It's not the end of the world, but is a bit annoying.
The text was updated successfully, but these errors were encountered: