You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 2, 2024. It is now read-only.
The makeStyledComponent function wraps a component and adds classes and darkClasses props, which accept an array. If users inline these values, these props will technically change each re-render (based on React's default comparison algo).
We might consider writing a custom comparison function and wrapping the returned component in React.memo so that we can smartly compare these additional props and potentially avoid unnecessary re-renders.