sync realtime DB ( or query sub) to global store
Hey 🙂 I am doing some realtime experiments (nextJS + Supabase or nextJS + tRPC) . In general, have my basic queries/mutations/subs up and running but because the data can/will be used within different components I feel the need of syncing these values into a global store ( Recoil or Redux).
Which way do you think it would be best? I am thinking to create a global data wrapper provider but I wonder how scalable this can be and if there are better solutions.
0 Replies