Hacker News new | past | comments | ask | show | jobs | submit login

React has server-side rendering so SEO is covered.

However it’s still a complete waste of developer time & server resources to do this in React when a static website would be better suited for the task.




I really disagree that it's a "waste of developer time" to use React for projects like this.

`npm install next react react-dom` takes an insignificant amount of time and gives you an extremely efficient developer experience immediately, with automatic code splitting, server side rendering and great modern CSS support. Compared to the amount of time I've spent over the years fiddling with gulp/grunt configuration files for "static websites", it's a no brainer for developers who are already productive in React.


All you need for this site is a .html file and a single style sheet...


But they're clearly not using server-side rendering here, so the point stands...


You can choose to server-side render a page only for googlebot or other crawlers, no sure if it's worth the effort though.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: