#Root route loader being called multiple times
4 messages · Page 1 of 1 (latest)
4 messages · Page 1 of 1 (latest)
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.