@emacsen I suspect react was developed because facebook (meta) did not own any hardware devices so didn't have full control of distribution of apps and associated user data. They did the second best: ship an entire interactive app over the web.
Its a tribute to the power and flexibility of the web paradigm that you can do this. But like so many other aspects of digital tech, these decades of #bigtech dominance have solved their problems, not ours.