T
TanStack•10mo ago
sensitive-blue

feat: notify about observer options change in v4.1.0 cause perf issues?

Hi Im in the process of migrating from v3 to v4 in a very big app. When using v4.1.0 and above (up to 4.36.1), I get redundant rerenders probably related to this change: https://github.com/TanStack/query/pull/3989/files It notifies about options changes (queryFn, queryKey are not memoized in the whole app..) In 4.0.10 it doesnt happen. Any idea?
1 Reply
sensitive-blue
sensitive-blueOP•10mo ago
@TkDodo 🔮 I see you have already had discussion about it here https://discord.com/channels/719702312431386674/1067399193255231499/1068126824393080833 is that ok to remove it with patch package, or you have another solution?

Did you find this page helpful?