Polymorphism is such a headache 🥵
Seriously considering removing it from Stitches components and offer a more explicit way to change the element type.
So basically, remove support for `as` prop
PS: The latter *already* works in Stitches
I've been thinking a lot about the `as` prop for polymorphism lately and wondering why we all went down the road of runtime TypeScript polymorphism. It introduces so many unnecessary complexities, bloats error messages and kills TS perf... 🧵