News for hackers. Stuff that matters.
Re:When a rewrite isn’t: rebuilding Slack on the desktop by Klathmon on Monday July 22, 2019 @08:14PM (#20503413)
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.

There are no comments on this comment yet.