Hacker News new | ask | show | jobs
by gumballindie 1048 days ago
Cool stuff - but there’s no need for react. Not sure why web developers are fixated on that framework.
3 comments

“Pfff. I could make that shot,” said the spectator on the couch.

The beauty of the Web is that it’s easy to get started. By all means, make one without React.

There's never a need for React. Anything you can do in React can be done in plain JS.

The question is how fast you can do it and how easy it is to maintain. React simplifies the effects of state change, at a cost of doing more renders and diff. It's got nice properties for debugging, kinda like functional programming, especially as the thing gets bigger and more complex.

It's not magic. It just makes some things convenient. It seems to hit a sweet spot for ease of writing and maintaining. If you don't like it you don't have to use it.

Can you give a link to your version that doesn't use React so we can see the difference?