News for hackers. Stuff that matters.
Re:Emerging JavaScript pattern: multiple return values by Kiro on Thursday October 29, 2020 @06:25AM (#24928932)
I don't understand what kind of stuff people build in React where performance implications of this sort is relevant. I'm building games where I loop through potentially thousands of objects 60 times a second and optimizations on that level still don't make any difference. It's always rendering that is the bottleneck. Shouldn't it be the same with React?
Re:Emerging JavaScript pattern: multiple return values by joshribakoff on Thursday October 29, 2020 @07:17AM (#24929274)
No one said to do this for performance
Re:Emerging JavaScript pattern: multiple return values by Kiro on Thursday October 29, 2020 @09:06AM (#24930059)
I was referring to the Performance implications section.
Re:Emerging JavaScript pattern: multiple return values by rasz on Thursday October 29, 2020 @08:08AM (#24929614)
article mentions performance concerns only in the context of Array destructuring