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
Compound components is an interesting pattern. We haven't found a use case for it yet. The main pros I see with this pattern is the flexibility it offers. The main cons I see is around performance. Does creating new functions at each render hurt? To be cautious.
The closest pattern we have is cristalized by the muiName component static property.
So, thanks for raising this voice, be sure we will think about it for the components we haven't migrated yet. This pattern could be potentially used for the TimePicker/DatePicker components. We will see.
I believe this pattern is nice to be used in material-ui — it gives a good level of flexibility.
It's an idea to discuss. Do someone feels good about applying this to material-ui? Your thoughts?
downshift and react-toggled are build with that and it they look very powerful.
The text was updated successfully, but these errors were encountered: