Root route loader being called multiple times
I am trying to call a function once on route load but it is being called multiple times. I tried both
beforeLoad
and loader
but both have the same results. I do have two pathless layouts under the root route, which is why I think the loader is being called three times, but I am not sure. Any help would be appreciated.2 Replies
fair-rose•4mo ago
is this start or router related?
multiple loads could be caused by preloading
aside from that we need a complete minimal example stackblitz or git repo
extended-salmonOP•4mo ago
Start related