But most of the time, the difference just doesn't matter (especially in the frontend).
When you get to a scale and maturity to check for places to improve performance (and it will probably be in the backend) then you would probably have no problem writing a clean, more performant, function using the low level apis.
The problem I see is wanting to do that for a function that runs on time every now and then with like... barely dozens of items at a time.
(I blame leetcode, hackerrank and similars... =p )
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Totally!
But most of the time, the difference just doesn't matter (especially in the frontend).
When you get to a scale and maturity to check for places to improve performance (and it will probably be in the backend) then you would probably have no problem writing a clean, more performant, function using the low level apis.
The problem I see is wanting to do that for a function that runs on time every now and then with like... barely dozens of items at a time.
(I blame leetcode, hackerrank and similars... =p )