Samuel
Bluesky’s social-app doesn’t use any global state manager (redux/zustand/jotai/mobx etc). Why is that? 🧵 an elaboration on this post:
Samuel@samuel.fm· 11 Aug 2025
the problem I have is that it changes global state from a last resort to a first resort. thus the lowest effort solution always turns into a nightmare mess instead of being isolated and composable
5 12 83
Oliver Ash
What do you do for shared values derived from state? E.g. array as state, then a derived filtered version of that array is used in many components. In Redux the idiomatic solution to this is selector memoization. Perhaps you could have another context for the shared derived value? cc @samhh.com
1 2
Samuel
yeah for stuff like that we usually put that logic in the provider
1 1
Oliver Ash
Is that as a separate context from the state or the same context? Curious what that would look like in the derived filtered array example I gave.
1
Oliver Ash
A more specific use case we have is: we need to filter an array from React Query using client-side state, then share that filtered array with many components.
1 1
Samuel
@samuel.fm
yeah so there we’d hoist the query up, do the heavy calculation once, then pass the result down in context
1 2