4 ms·
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. h
by kennywinker 1y ago
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/react@19.1.1 https://bundlephobia.com/package/react@19.1.1
https://bundlephobia.com/package/react-dom@19.1.1 https://bundlephobia.com/package/react-dom@19.1.1
https://bundlephobia.com/package/htmx.org@2.0.7 https://bundlephobia.com/package/htmx.org@2.0.7
- tehbeard 1y agohttps://bundlephobia.com/package/react-dom@18.3.1 https://bundlephobia.com/package/react-dom@18.3.1 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.
- incoming1211 1y agoI 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