5 ms·
Why react?
by mosselman 7y ago
Why react?
- Etheryte 7y agoWhile maybe slightly curt, I do echo this statement. Nothing on the demo page displays anything you couldn't do with a static page. Using tools devs are familiar with can often be good, but here it's hard to see the benefit.
- nkozyra 7y agoI suspect the audience is people with a React site already but in that case I'd expect they already have a landing page. These corporate sites are really the ones that should just be old fashioned HTML + CSS if possible.
- nullandvoid 7y agoWhy not? It's the most popular UI framework. The second you start building a SAAS product on top of those pages, you're not going to want to be in vanilla land.
- brabel 7y agoBecause you want your landing page to load instantly and React or any other JS-generated site just can't compete in loading speed with a static HTML page.
- frankzander 7y agoBecause you need a bit of CSS knowledge and to know how intersection observers have to be configured and then everything works with few lines of JS and CSS ... it's lightweight and SEO friendly and not bloated as if you use REACT.
- spyke112 7y agoUhm, probably not the best idea to mix your saas application, with your business website. I would definitely not recommend that. And i will also echo the other comments, saying that this is definitely overkill. If you're doing a single landing page, jsut go with static html/css. If you need some content management, then either go with a fully fledged CMS or do the hipster thing and compile into static site.
- ttty 7y agoMost likely you'll share some parts... Having 2 systems (html and react) much higher cost of maintenance than just 1 in react at a small overhead
- WolfOliver 7y agoIMO landing pages and SaaS applications should be different projekts/repos
- frankzander 7y agoBecause a startup without a react landingpage isn't really a startup and not as hipster as the other new companies in town ;)
- pacomerh 7y agoeh, not necessarily, you could claim using a popular framework has it's benefits. It's easier to transition it to a full app whenever the time comes. The author could've chosen something less hip?, sure, but again React is widely used and it has proven to be useful in many app scenarios.