News for hackers. Stuff that matters.
Re:2 years with Angular by zivc on Monday November 24, 2014 @11:22AM (#8653064)
> has perf issues with angularjs

> writes a solution using jQuery

Angular tries to be clever and solve loads of problems, sure tables and table rendering sucks anyways, but a simple querySelector with jQuery is 98% slower than just using normal DOM methods.

If you're gonna write your own bits of code to improve the caveats of any framework, especially in the financial industry, you go full hog and you write it properly.

Fixing an angular problem with a jQuery solution will get you marginal gains. Fixing an angular problem with a DOM solution will get you the best results and it isn't even that hard.

Re:2 years with Angular by untog on Monday November 24, 2014 @12:15PM (#8653359)
a simple querySelector with jQuery is 98% slower than just using normal DOM methods.

A simple querySelector with jQuery maps directly to a normal DOM method in browsers that support it.

Re:2 years with Angular by deckiedan on Monday November 24, 2014 @01:19PM (#8653730)
apart from the overhead of finding out if the normal DOM method will work - and the overhead of parsing the selector to make sure it's not using jQuery extensions.