@nikitonsky this is literally the description of (n)curses, a library used since 1978 to make portable and efficient updates to a text terminal:
"The programmer sets up the desired appearance of each window, then tells the curses package to update the screen. The library determines a minimal set of changes that are needed to update the display and then executes these using the terminal's specific capabilities and control sequences [Wikipedia: curses programming library]"
That they used something like React for the "frontend" is both hilarious and sad at the same time...