Replies: 3 comments 1 reply
-
Hi, I'm bumping this as I'm currently notcing similiar behavior. const refreshConfigValues = () => {
I could switch to axios but it defeats the purpose of prop driven development using inertia. We load a lot of data server side and rendering the entire page again would not work. |
Beta Was this translation helpful? Give feedback.
-
I have the same issue while trying to make an Infinite scroll mechanism basically when i pass the preserveUrl prop the request does pass the params to the request so the data is a duplicate of the initial one. |
Beta Was this translation helpful? Give feedback.
-
@Tivixo @k4l3b4 Set replace to false.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm making an app on VILT stack. In many places I need to get subcategories and I don't want make a new Route on back-end for each one.
So I make a single Route like 'partial-data/get_subcategories' and send an category_id to it each time and get the subcategories.
It works fine, just each time my url changed to 'partial-data/get_subcategories'!
I searched and I find preserveUrl in a new merge in 2022 by @xiCO2k : #1009
But when I use "preserveUrl: true" in my watcher it doesn't work!
I'm noob in git concepts, because it is Merged so it should works, right? or should I install this branch: https://github.com/xiCO2k/inertia/tree/feat/add-preserve-url ? I read when something get merged that feature exist in master branch, so why preserveUrl doesn't work? Am I need change some settings or something?
Please guide me my friends.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions