Redux icon indicating copy to clipboard operation
Redux copied to clipboard

Add async helper

Open Steven-Chan opened this issue 8 years ago • 0 comments

Since the whole thing is originated from a js framework, it's reasonable to assume it works best on main UI thread. But a lot of cases, developers would like to do some async actions, e.g. network request, database query.

I think it would be very nice to have a helper function or class or something to help developers to write async code and, immediately right after that, dispatch action in main thread. Otherwise, you may easily come up with some callback hell.

Steven-Chan avatar Mar 11 '16 07:03 Steven-Chan