You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reading through the README, the statement given is It requires no frameworks, and is only ~13K gzipped. From what I can see, that is not correct. I ran Webpack Bundle Analyzer on my bundle and saw the following:
Furthermore, our team uses an extremely small subset of the SDK. The three methods we use are init, link, and setBranchViewData. It would be great if you guys can provide exports in a way thats conducive to only importing what you need from the SDK so that you can cut down on the bundle size dramatically when not using everything that this SDK provides. Some simple lodash type imports like import link from 'branch-sdk/link' or similar would be great.
Any thoughts on this?
The text was updated successfully, but these errors were encountered:
Reading through the README, the statement given is
It requires no frameworks, and is only ~13K gzipped.
From what I can see, that is not correct. I ran Webpack Bundle Analyzer on my bundle and saw the following:Furthermore, our team uses an extremely small subset of the SDK. The three methods we use are
init
,link
, andsetBranchViewData
. It would be great if you guys can provide exports in a way thats conducive to only importing what you need from the SDK so that you can cut down on the bundle size dramatically when not using everything that this SDK provides. Some simple lodash type imports likeimport link from 'branch-sdk/link'
or similar would be great.Any thoughts on this?
The text was updated successfully, but these errors were encountered: