Comment by philippta

16 hours ago

React to some degree made immediate mode UI possible in the browser, which is part of why it is this successful. If the browser gave the option to do ui = f(state) natively, you wouldn't need React.

I think the question at this point is not why React was adopted, but why it still dominates despite overriding the platform in many ways, with all the downsides that entails.

IMO did not React necessarily originate a style of programming but was undeniably successful in packaging and documenting it.