vinnymac / PokeNurse

💉 A tool for Pokémon Go to aid in transferring and evolving Pokémon
283 stars 48 forks source link

Add Redux and move pogobuf to app thread #131

Closed vinnymac closed 8 years ago

vinnymac commented 8 years ago

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.