-
Notifications
You must be signed in to change notification settings - Fork 129
Description
Suggested technology
Preact is a fast 3kB alternative to React with the same modern API.
In applications where performance is critical (e.g. the marketing website), switching from React to Preact can decrease the overall bundle size significantly.
We need to investigate whether Circuit UI is compatible with Preact and what we would need to do to support it out of the box. This could be achieved through code changes or documenting the steps that users need to take to make them work together.
Note: Emotion stopped supporting Preact officially but it might be compatible anyway (#658 (comment)).
Alternatives
Preact is in itself an alternative to React, our current UI framework. I'm not aware of other React-compatible, performance-focused libraries.
Potential downsides
Officially supporting Preact might add significant amounts of work to maintain compatibility in the future.