3 ms·
That's what I've been trending toward as well. There's a tremendous amount of work out there for how to get redux to completely handle async and branching meth
by Klathmon 7y ago
That's what I've been trending toward as well.
There's a tremendous amount of work out there for how to get redux to completely handle async and branching methods, and I think the best solution for most cases is to not have it handle any of that.
Keep your data fetching in normal everyday functions, have react components call those and funnel the data you need in the global store back to redux, and then have the components that need that data read it from the global store.