web3-react icon indicating copy to clipboard operation
web3-react copied to clipboard

Support lazy-loading dependencies

Open zzmp opened this issue 3 years ago • 0 comments

Webpack code splits based on dynamic imports, but this is not available when using CommonJS. As far as I can tell, this is not available until ES2020.

  • [ ] Add additional ESM-compatible exports
  • [ ] Update EIP1193 to take Provider | () => Provider, so that the Provider can be lazily instantiated on activation

zzmp avatar Jun 28 '22 20:06 zzmp