Closed BrianCraig closed 3 years ago
Hi! I've been working on adding a Wallet Context for encapsulationg connection & address logic. The idea is to use:
const { address, onConnect, onReset } = useContext(WalletContext);
on Functional Components to remove the neccesity of passing the address through props on a chain.
I also refactored some components to be Functional Components instead of class Components.
What do you think about this?
Brian
Unfortunately many changes happened with the latest version of the code and now we have significan merge conflicts. I can't merge this as is right now.
Hi! I've been working on adding a Wallet Context for encapsulationg connection & address logic. The idea is to use:
on Functional Components to remove the neccesity of passing the address through props on a chain.
I also refactored some components to be Functional Components instead of class Components.
What do you think about this?
Brian