2 ms·
>That's what Netflix got from using Reactjs. ...for using Reactjs badly. IFTFW. First, they could have had the item as a search box from the start, no need to
by coldtea 11y ago
>That's what Netflix got from using Reactjs.
...for using Reactjs badly. IFTFW.
First, they could have had the item as a search box from the start, no need to make a label that when clicked turns into a search box.
>* If you have to refresh 90% of the search results page anyway, why use React? Building and diffing a VirtualDOM isn't cheap*
Actually it can be as cheap as directly changing the DOM with JS. And diffing can be just a single op e.g. when using an immutable data structure for their always changing part of the data.
It's just a change done crudely, not even non-optimized, because it doesn't need that much optimization anyway.