Why is parent route's loader triggered when children change
Example from the docs: https://tanstack.com/router/v1/docs/framework/react/examples/location-masking
If you go to /photos and then /photos/$photoId/modal, the parent loader is triggered every time, even though its state doesn't change:
Why is that? Is that a bug?
If you go to /photos and then /photos/$photoId/modal, the parent loader is triggered every time, even though its state doesn't change:
Why is that? Is that a bug?

An example showing how to implement Location Masking in React Router