2 ms·
>I'm not talking about the what, but why would anyone think of using higher order functions to build user interfaces in the first place. It complicates the use
by danabramov 10y ago
>I'm not talking about the what, but why would anyone think of using higher order functions to build user interfaces in the first place. It complicates the use case: building and mutating DOM Nodes.
Why are you using a higher order function to `[].filter()` an array? It complicates the use case: iterating over items.
>And what may I ask requires so much power for building web front-ends?
I don’t know what kind of apps you are building, but use cases for React at Facebook are very complex. You may create an Ads account and go through the ad campaign creation flow to see what I mean.