3 ms·
No, the SPA hype has warn off and people realize that although these new technologies exist, they are not always needed. If you are building a web app, use Rea
by s_y_n_t_a_x 7y ago
No, the SPA hype has warn off and people realize that although these new technologies exist, they are not always needed.
If you are building a web app, use React or similar.
If you are building a web site, use plain HTML+CSS w/ supplemental JS.
Sometimes your project can be split in half. Do the landing page, signup, login, privacy policy, etc. in plain HTML.
Maybe don't embed all that stuff in your app and you wouldn't struggle with forms and routing, something that browsers can do very well with no programming.
- x3haloed 7y agoOf course the reasonable answer gets downvoted. Stay strong! And remember that you're not a good developer unless you write everything in vim compiled for an OS that you wrote for yourself in C, backed up on a trusty old 2MB platter drive via a series of rsync scripts. I heard the concept of version control was originally conceived and canned by IBM in 1967, because it was found that version control would eventually become mainstream, and therefore bad.
- s_y_n_t_a_x 7y agoThanks for the kind words and the mention. I'm used to the downvotes on here unfortunately, it's easy to tell which topics will do it, the group think here can be thick...
- x3haloed 7y agoYou're welcome. My struggle on HN is to try to ignore the groupthink and keep the sarcasm out of my tone, but sometimes I just can't help myself.
- ng12 7y agoPreach. I teach a little "into to web dev" workshop that starts with a slide explaining that static sites, SSRs, and SPAs are all perfectly acceptable. They're different tools for different use cases.
- woutr_be 7y ago> If you are building a web app, use React or similar. I disagree with this, there's no reason to use React/Vue/Angular for a web app by default. And I would urge people to try and avoid it for as long as possible and see how far you get. From personal experience I can tell you that most of the time, you don't need a frontend framework to build a web app.
- s_y_n_t_a_x 7y agoFrom my professional experience throughout the last decade, you're wrong. I urge people to practice and use the best tool for the job, don't avoid something because some hipster thinks it's too popular. Feel free to go back to jQuery spaghetti code, it's nice until you build something too big. React isn't a framework btw, it's just the view. You can stack anything or nothing with it.