cm0002@lemmy.world to Programmer Humor@programming.dev · 1 month agoWhy indeedlemmy.mlimagemessage-square195fedilinkarrow-up11arrow-down10cross-posted to: [email protected]
arrow-up11arrow-down1imageWhy indeedlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 1 month agomessage-square195fedilinkcross-posted to: [email protected]
minus-squareLemminary@lemmy.worldlinkfedilinkarrow-up0·edit-21 month agoWhy? Its libraries are a few kilobytes each. https://bundlephobia.com/package/[email protected] - 7.3 Kb https://bundlephobia.com/package/[email protected] - 3.6 Kb
minus-squareNat (she/they)@lemmy.blahaj.zonelinkfedilinkarrow-up0·1 month agoIs that the JS bundle only? I think you’re forgetting the need to ship a rendering engine, a JavaScript engine, and the rest of the JS you inevitably bring in if you’re using something like React.
minus-squareLemminary@lemmy.worldlinkfedilinkarrow-up0·edit-21 month agoOh, I focus mainly on web. ‘Forgetting’ to ship engines is my bread & butter. lol I see you meant React (+Electron).
React
Why? Its libraries are a few kilobytes each.
https://bundlephobia.com/package/[email protected] - 7.3 Kb
https://bundlephobia.com/package/[email protected] - 3.6 Kb
Is that the JS bundle only? I think you’re forgetting the need to ship a rendering engine, a JavaScript engine, and the rest of the JS you inevitably bring in if you’re using something like React.
Oh, I focus mainly on web. ‘Forgetting’ to ship engines is my bread & butter. lol I see you meant React (+Electron).