News for hackers. Stuff that matters.
Re:Understanding React Compiler by ttfkam on Saturday June 29, 2024 @10:45AM (#40830981)
So how small can you get for a hello world page with a single "hello $name" component, spending an hour or less on it?
Re:Understanding React Compiler by acemarke on Saturday June 29, 2024 @11:30AM (#40831262)
That bundle size + the size of your component.

Just created a fresh Vite+React app and rendered a "hello world" component, and the resulting output is:

    dist/assets/index-uoOveHrm.js   142.66 kB │ gzip: 45.76 kB