My app has a global auth context and the whole tree re-renders on every token refresh. I know splitting providers and memoizing consumers helps, but at some point it feels like I'm fighting the architecture. What pattern actually scales without turning everything into state libraries?
13
0 comments