Is it possible to make partial reloads with two different merged props but only reloading one? #2360
Unanswered
gordanielyan
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question about
Inertia::defer
androuter.reload({ only: [...] })
behaviorHi all,
In my Laravel controller, I'm using
Inertia::defer()
withdeepMerge()
like this:In the frontend, I have the following code to load more data for
merge1
:However, when I trigger this reload, I get an error related to a component that uses the
merge2
prop, even though I'm only reloadingmerge1
.My question is:
Is this expected behavior with deferred props and
only
?Should I be handling this differently, or is this a potential bug?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions