Our state is getting rather complex (and large).
Redux gives us the following benefits
My first idea would be to
Woohoo.
I'd also suggest using mapStateToProps and mapDispatchToProps.., simplifies how we pass state around ... And invoke actions
Also might want to look at redux thunk (as most of the actions will be async).
Change mainStateController to just be a MailBox or something like that simply listens to messages from the extension side
Agreed... Basically it should be treated like an endpoint (rest + websocket)... It's just a bidirectional communication layer..
Moving this back to triage. This is going to make a lot of the bugs we have to fix easier. I'd like to do this now, rather than wait (and have those bug fixes get progressively harder and harder to implement)
Most helpful comment
My first idea would be to