Skip to content

Merging props documentation #379

Open
@DarkVen0m

Description

Describe the problem:

Documentation on merging props
https://inertiajs.com/merging-props
Does not mention that it only works with partial reloads, which requires either only/except or reset parameter.
https://github.com/inertiajs/inertia/blob/19b6ab40eca82d900c2f0b94e62fb4f1847c073d/packages/core/src/response.ts#L240
In my opinion it should mention it, as from front-end view everything looks okay without specifying those parameters, mergeProps is present in response as well as prop itself.

Steps to reproduce:

Make any "full"-request with merge props - it won't work.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions