logoalt Hacker News

CooCooCaChalast Thursday at 4:36 PM1 replyview on HN

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.


Replies

mixmastamyklast Thursday at 4:39 PM

I don’t know but vite was involved, looks like it was setting up live updates. This is part of the problem, you can’t just include a script apparently.

show 3 replies