Skip to content

[V2] Protocol update: Partial reloads #370

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

Merged

Conversation

skryukov
Copy link
Contributor

This PR updates the protocol to include info about the X-Inertia-Partial-Except header.

The main update corrects an outdated statement regarding partial reload requests. Since Inertia 1.3, the request headers have changed - while X-Inertia-Partial-Component is always included, X-Inertia-Partial-Data is now optional.

When a partial reload request is made, Inertia includes two additional headers with the request: X-Inertia-Partial-Data and X-Inertia-Partial-Component.

@joetannenbaum
Copy link
Contributor

Good catch, thank you 👍

@joetannenbaum joetannenbaum merged commit a4f2572 into inertiajs:v2 Apr 10, 2025
@skryukov skryukov deleted the protocol-update-partial-reloads branch April 10, 2025 17:58
skryukov added a commit to skryukov/inertia-rails that referenced this pull request Apr 10, 2025
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