Hello there! I simply created a github gist for dealing with Metamask connection in react functions, the thought is to create a easy API for connecting ethereum accounts in react utilizing a easy hook, which is the usual and on the identical time making an attempt to cowl the commonest eventualities. Please let me some suggestions within the gist feedback to make it higher and extra in depth.
Github gist right here