Replies: 1 comment
-
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.
-
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