Content
@
https://opensea.io/collection/dev-21
0 reply
0 recast
2 reactions
carter
@carter
alright what do you prefer here
12 replies
2 recasts
27 reactions
Kasra Rahjerdi
@jc4p
3 so i can import independently
1 reply
0 recast
8 reactions
carter
@carter
ohh interesting, does that still hold if you set up the sdk like this?
2 replies
0 recast
2 reactions
Kasra Rahjerdi
@jc4p
i’m not 100% sure cause i legit haven’t looked into tree shaking stuff for a long time but i think you’re right, what this case doesn’t handle tho is async imports as needed cause you need the Clanker class imported top level probably, no?
1 reply
0 recast
1 reaction
carter
@carter
yeah you're right this would do a number on tree-shaking (which also hadn't been a thought/priority here so that's good feedback!) yeah the class probably needs to be top level, I'm not sure of a more ergonomic way to make it available. priorities for this release are ease-of-use for the sdk and getting v4 out there
1 reply
0 recast
1 reaction