Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> And no one is saying get rid of JS front end stuff, it should be used to enrich and not hinder.

Having separation between the HTML on the server side and the JS on the frontend side is exactly why React become popular.

Personally, I don't want to go back to the PHP+jQuery days. I want one language and one framework to handle both HTML and JS interactivity.



> Having separation between the HTML on the server side and the JS on the frontend side is exactly why React become popular.

But did they really. Cuz now i see .jsx files with sql calls, adding in static js and css, and logic with mixed html in... Its honestly blowing my mind how we got to this point.

We all agreed biz logic, and view should be separated. and that html, css, js should also be in sperate files. and then .jsx or the like came along and merged them all back together in some of the ugliest code ive seen in years.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: