News for hackers. Stuff that matters.
Re:Mesh: I tried Htmx, then ditched it by kennywinker on Tuesday September 23, 2025 @09:29PM (#45355159)
React is 7.4kb minified, add react-dom and you add another 3.6kb - so ~11kb

Htmx is 59.9kb minified.

So it’s not huge in at least one dimension: file size.

https://bundlephobia.com/package/[email protected]

https://bundlephobia.com/package/[email protected]

https://bundlephobia.com/package/[email protected]

Re:Mesh: I tried Htmx, then ditched it by tehbeard on Wednesday September 24, 2025 @01:47AM (#45356736)
https://bundlephobia.com/package/[email protected] 130kb for react-dom 15-18 (would check more but site has rate limited me...)

So, while yes the very latest version of react is *finally* as slim as competitors like preact, don't act like all the legacy projects where a migration is off the table due to time or money just don't exist.

Re:Mesh: I tried Htmx, then ditched it by incoming1211 on Wednesday September 24, 2025 @07:25AM (#45358852)
I just created a new vite react project. All it does is render:

function App() { return <div>Hello world</div> }

Publish it as if it would be deployed to prod. ~185kb