tshaddix / webext-redux

A set of utilities for building Redux applications in Web Extensions.
MIT License
1.22k stars 180 forks source link

Dispatch all async thunk actions in background #238

Open omerdn1 opened 4 years ago

omerdn1 commented 4 years ago

Is there a way to "automatically" dispatch a thunk action from the background instead of having to list every single one of them individually under aliases?

Thanks.

adelin-b commented 3 years ago

Do you have a snippet on how you do that in the first place ? Im trying to find how.

I think it can be done either importing all actions and mapping them to their names or by creating a custom alias function (the original is like 15 lines)