cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agoWhy indeedlemmy.mlimagemessage-square160fedilinkarrow-up11.45Kcross-posted to: programmerhumor@lemmy.ml
arrow-up11.45KimageWhy indeedlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square160fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareLemminary@lemmy.worldlinkfedilinkarrow-up2·edit-22 days agoWhy? Its libraries are a few kilobytes each. https://bundlephobia.com/package/react@19.0.0 - 7.3 Kb https://bundlephobia.com/package/react-dom@19.0.0 - 3.6 Kb
minus-squareNat (she/they)linkfedilinkarrow-up2·2 days 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-up2·edit-21 day 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/react@19.0.0 - 7.3 Kb
https://bundlephobia.com/package/react-dom@19.0.0 - 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).