mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-09-14 07:18:55 +08:00

This is our first use case of trying to use 'Provider' for state management. Right now, we're doing state management quite horribly as all the widgets are rebuilt whenever the state of the app changes. With this, we can now start to refactor and only rebuild the widgets whose data has changed. There we many many different state management solutions to choose from, I've settled on Provider, as it seems like the simplest to integrate into the code base. Bloc/Redux seemed like they would add too much complexity for me.