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

Yeah, I know this. You wouldn't be able to step through your code in browser dev tools otherwise.

The DOM manipulation stuff is one of the features which sold me on Angular. I love the idea that everything renders itself then responds to a single redraw event fired on the DOM so that reflow happens once rather than the hideous way many people use jQuery to do things like:

var div = $('div').appendTo('.home'); var ul = $('ul').appendTo(div); $('li').appendTo(ul);

Well done, each time you're causing layout.




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

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

Search: