Right now we are using the IPC very heavily and our data flow mostly uses reacts state and props. It would be nice if we added another library that could help out like redux. Plus we could add the redux dev tools to make debugging easier. Authentication being required to make requests means we might need to migrate all the IPC events in one go which is inconvenient for iterating on releases.
Pros
Unidirectional data flow
Immutablility
Better debugging
Requests are handled on the same thread
Cons
Large amount of changes
Learning curve for redux
Instead of migrating all the pogobuf requests, lets introduce redux by using it for controlling the future settings page and settings.json. That way it doesn't require making any requests.
Right now we are using the IPC very heavily and our data flow mostly uses reacts state and props. It would be nice if we added another library that could help out like redux. Plus we could add the redux dev tools to make debugging easier. Authentication being required to make requests means we might need to migrate all the IPC events in one go which is inconvenient for iterating on releases.
Pros
Cons
Instead of migrating all the pogobuf requests, lets introduce redux by using it for controlling the future settings page and settings.json. That way it doesn't require making any requests.