element-hq / compound

Element's design system
https://compound.element.io
Apache License 2.0
12 stars 3 forks source link

Make sure our web build stays compatible with React 17 #287

Open robintown opened 11 months ago

robintown commented 11 months ago

Some of our projects use React 18, while others like Element Web are stuck on React 17. As long as we need to support React 17, we should enforce in CI that our Compound Web builds stay compatible, because this is delicate to maintain.

Separately, it would also be worth looking into whether there's some less painful way for a component library to support both React versions. Radix Primitives seems to have this figured out? But not sure what their secret to success is.