Understanding context selector performance impact
Hi! I'm debugging some performance issues and I'd like to understand why A performs worse than B?
For the record:
- "A" causes a lot of rerenders
- I created my router with
Is that because the shape of the object changes all the time (maybe because of functions returned by
Please ping me!
For the record:
- "A" causes a lot of rerenders
- I created my router with
defaultStructuralSharing: true (because I thought that would cover this exact case)Is that because the shape of the object changes all the time (maybe because of functions returned by
queryOptions)? Thanks for your helpPlease ping me!