React would have been great in a functional language with immediate data structures.

Instead it’s used with JavaScript, where you have to constantly force yourself to create your prop objects in a very specific way to avoid or force (re)rendering.

It’s a constant struggle to control re-rendering. I still can’t believe React became as big as it is.

Vue and Angular just fit JavaScript better.

> immediate data structures

Immutable?

But React in JS is a blessing – it brought good thinking to messy world. And as a direct influence, JS will adopt immutable data structures – tuples and records.

https://github.com/tc39/proposal-record-tuple