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

Personally, I would opt for not modifying the DOM heavily and push more of the work into CSS making use of different DOM structure and data attributes instead of just classes. Also CSS pseudo element will save you a lot of DOM footprint in some cases and the combination will result in quicker performance.

Also the use way in which you build a progress bar, what exactly is happening there?



Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: