I know this can be a classic question, but i really couldn't get a real answer from anyone, i seek a detailed example or a situation that proves that React solved a real problem. i understand the part of reusability, declarative style, but still lost in that words React website always tells about React "We built React to solve one problem: building large applications with data that changes over time.”
A discussion on the React Podcast4 mentions that the creator of React—Jordan Walke—was solving a problem at Facebook: having multiple data sources update an autocomplete field. The data came asynchronously from a back end. It was becoming more and more complicated to determine where to insert new rows in order to reuse DOM elements. Walke decided to generate the field representa- tion (DOM elements) anew each time. This solution was elegant in its simplicity: UIs as functions. Call them with data, and you get rendered views predictably.
This is good but still can't fully digest it, what is the real problem that created React in its creator mind,
what does this exactly mean ?
"It was becoming more and more complicated to determine where to insert new rows in order to reuse DOM elements"
I couldn't fully understand that situation, can anyone explain in details this situation to me with or without code, what is the problem to get that data asynchronously from multiple sources and just append it to a certain element in the DOM??