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

All of your issues like dropdown and hover in JS can be solved by CSS, why did you choose to implement them in JS?

About complex logic, it is everywhere. I once worked at an big ecommerce company and the server-side catalog page was more then 2000 lines, nobody want to touch that page. But it would be easier with React since we can break it down to smaller components.

Your 2.5MB minified bundle is actually too big.




>All of your issues like dropdown and hover in JS can be solved by CSS, why did you choose to implement them in JS?

Because it's modern? In all seriousness I've often asked questions along these lines and haven't always received great answers.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: