We were relying on the useContext and to hold global state including:
provider object
error messages
transaction confirmation data for displayed modal
As application grows it's will become much difficult to manage state and if we plan to introduce some complicated transaction confirmation, like running simulation etc.
How Has This Been Tested?
Tested manually
What process can a PR reviewer use to test or verify this change?
Run local tari swarm, and launch tari universe. To test if transaction are working as expected add faucet tapplet and deploy on local network.
Breaking Changes
[x] None
[ ] Requires data directory on base node to be deleted
Description
Implement redux state management
Motivation and Context
We were relying on the
useContext
and to hold global state including:As application grows it's will become much difficult to manage state and if we plan to introduce some complicated transaction confirmation, like running simulation etc.
How Has This Been Tested?
Tested manually
What process can a PR reviewer use to test or verify this change?
Run local tari swarm, and launch tari universe. To test if transaction are working as expected add faucet tapplet and deploy on local network.
Breaking Changes