Seeking Advice on React Patterns for Database Service Implementation
Coming back to Effect after a long semester and wondering what the current patterns around React are, been searching the discord and finding good leads scattered around, but I wonder if anyone could provide some high level advice or links. My primary goal right now is creating a Database service which can be implemented by either a remote database or an embedded database. My thought is to have the service return streams (for reads) and then bind those to React through some kind of useStream hook, but when searching I see a variety of advice: streams, refs, subscriptionsrefs, and hubs in particular. I know this can get pretty nuanced, so it may be that I just need to invest the time to work through more of that nuance, but anybody have any pointers to help me get oriented?
