5 ms·
Frontend frameworks solve a need for SPA (Single Page Applications). While simple HTML/CSS/JS can handle simple static sites, something that needs reactive comp
by Kagerjay 8y ago
Frontend frameworks solve a need for SPA (Single Page Applications). While simple HTML/CSS/JS can handle simple static sites, something that needs reactive components (e.g. interacting with something on the site, and populating change instantly) is much easier in a framework. Javascript natively is quite difficult to do this and requires a lot of code to handle simple logic. This is what libraries are good for. React and Vue are such frameworks. These frameworks also allow for iOS and android integration as well.
However, I do agree with things being overcomplicated. I keep my tool chain process as lean as possible, with as few dependecies needed. I find it baffling that people would use React for something like an ecommerce site. Its all about the right tool for the right project. Not everything benefits from React, but some things do some things do not.
- rhapsodic 8y ago> Javascript natively is quite difficult to do this and requires a lot of code to handle simple logic. Statements like this are what boggle my mind. I just don't see what's so damn difficult about native Javascript.
- pault 8y agoIt's not JavaScript, it's the DOM and other browser APIs.
- abiox 8y agoperhaps we're just not as smart as you. although for someone so smart, it's odd you can't reason about why people would make such statements.
- dang 8y agoCould you please stop posting uncivil comments? https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html
- abiox 8y agohi, i noticed there isn't an option to delete my account, and the faq didn't address this from what i could tell. is there a recommendation here?