tasit-apps
tasit-apps copied to clipboard
Decide between redux-thunk, redux-saga, or neither for async data fetching
@pcowgill commented:
I think React context API is worth considering in the medium term.
Refs: https://github.com/tasitlabs/tasit/pull/93#issuecomment-462464898
Seems that redux docs recommends keep actions
as plain functions and use middleware (thunk/saga) to handle with fetching data. What do you think?
Refs: https://github.com/tasitlabs/tasit/pull/93#discussion_r255698391
TODO Move functions that interact with blockchain to actions / middlewares.
Depending on what we decide in issue https://github.com/tasitlabs/tasit/issues/197 , this one might become obsolete