3 ms·
Cool stuff - but there’s no need for react. Not sure why web developers are fixated on that framework.
by gumballindie 3y ago
Cool stuff - but there’s no need for react. Not sure why web developers are fixated on that framework.
- Waterluvian 3y ago“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.
- jfengel 3y agoThere'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.
- tchaffee 3y agoCan you give a link to your version that doesn't use React so we can see the difference?