arweave-dart icon indicating copy to clipboard operation
arweave-dart copied to clipboard

Investigate tree-shaking of library

Open CDDelta opened this issue 4 years ago • 0 comments

The way the library currently namespaces actions likely prevents tree-shaking of unused code. We should investigate how to make the library more tree-shakeable.

Firebase does this by having each of its components as separate packages and a singleton which all the components retrieve config from. If we go down this route it would mean that apps that use this library can only have a single config at once.

CDDelta avatar Sep 05 '20 11:09 CDDelta