i noticed an issue in my react / meteor app. I use tastack router / client, meteor-rpc and Mantine for my application. I noticed that when having publications from meteor-rpc on my page component, the whole app will trigger a rerender, resulting in a flicker of the app. Ive verified this by implementing a couple of test pages with only useQuery / useMutation and another that usePublication. The query pages behave fine, but when i navigate (using tanstack router Link components) the entire page will flash and do a rerender. Every time I visit a page with usePublication on it.
Maybe someone knows how to further debug this or fix the issue
I can’t provide a snippet as the code is not yet public. I can see if i can prepare a minimal reproduction repo. I investigated the issue further and converted one of my pages to a traditional pubsub using useTracker() and the issue persist. It might have to do with tanstack router or mantine
Might have solved the issue. Was completely relevant to tanstack router and its built in transition stuff. I ve explicitly disabled some of it and this seem to have fixed the issue