Better HN
topnewbestaskshowjobs
Log inSign up

zivc

1 karma · joined Jun 4, 2014 (12y ago) · 3 submissions

I build financial software in London.
Submissions

comment 11y ago · link · parent

If you can afford the 500kb overhead, I'd just use React to render any 'slow' angular component such as tables and lists. More info, https://youtu.be/XQM0K6YG18s?t=403

comment 11y ago · link · parent

Search algorithm needs a lot of work. Should sort results by the number of dependents http://i.imgur.com/BiOkb8o.png

comment 12y ago · link · parent

> 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.