Earlier quoted context omitted.
> To their credit, I think the React code itself has maintained reverse compatibility pretty well (it's not React's fault), but the build systems I was using 5 years ago have all changed and broken reverse compatibility. That's a problem with your build system then, not React. There is (or was) indeed a lot of churn in build systems, but you wouldn't have been spared unless you had chosen to not use a build system -…
I just had a thought and decided to look it up. This side conversation started as an objection to the comment, "Whatever framework you choose will be obsolete in 5 years." The first release of esbuild was November 2020, i.e. it didn't exist 5 years ago. And that release fixed... conditional statements in TypeScript--a pretty basic feature to be broken. Does that sound like something you want to use in production? So…
Conditional types (not statements) are not a basic feature.