3 ms·
These are all terrible, and they all stem from TypeScript's inability to properly restrict the type of JSX children. Something that's been an issue for years wi
by stupidcar 5y ago
These are all terrible, and they all stem from TypeScript's inability to properly restrict the type of JSX children. Something that's been an issue for years with no sign of resolution, because the proposed fix (from a member of the TS team) has terrible performance: https://github.com/microsoft/TypeScript/issues/21699 https://github.com/microsoft/TypeScript/issues/21699
But since React is a such a minor part of the JS/TS landscape, who can really blame the TS team for not prioritising this, right!?
- ssijak 5y agoAre they really that terrible?