logoalt Hacker News

mixmastamyklast Thursday at 4:11 PM1 replyview on HN

I recently tried a hello-world in react. It made ten network requests on page load and probably had a sizable first download. That’s why web pages are so slow today.


Replies

CooCooCaChalast Thursday at 4:36 PM

Hello world in react is just a few lines of code that mounts a react component to a dom element. There should be zero network requests beyond the initial download of html and js.

You’re either doing something wrong or not actually doing a hello world.

show 1 reply