I have been working throughout the day, to add header navigation to my site, and then added a dark mode toggle.
I did so much stuff, I have lost track of all changes I made throughout the project.
The issue I’m seeing right now is when using <.link patch />. The route URL doesn’t change, but the content does.
Along with the error: destroyed: the child has been removed from the parent - undefined
And the newly added header shows up, but in console of browser, I see:
header_nav destroyed: the child has been removed from the parent - undefined
Have I misunderstood the patch functionality?
Does it change URL only if its query params?