Open petemill opened 3 years ago
We're incrementally moving the code to Redux Toolkit which should also address this issue once the migration is complete. Keeping this issue open until then by dropping the priority to P4.
lib.ts was removed in this PR: chore(wallet): remove lib context
We should still investigate the removal of the AsyncActionHandler, as it adds additional middleware to the redux store
As of https://github.com/brave/brave-core/pull/10637, wallet UI is now using both the async-handled redux actions pattern, and the redux-thunk pattern. It's not clear when to use which, and this can / has lead to reduced readability and maintainability. We should pick one that meets our aims of a responsive UI and clean code / module separation, and stick with it.
As per https://github.com/brave/brave-core/pull/10637#issuecomment-960451549