[poll] Rename of the components
prop to slots
#34080
Replies: 5 comments 6 replies
-
I voted to rename
Curveball: whether |
Beta Was this translation helpful? Give feedback.
-
Would it make sense for the fields be made case insensitive for backward compatibility if we decide to change the casing? |
Beta Was this translation helpful? Give feedback.
-
I feel like there are two different polls happening. Renaming |
Beta Was this translation helpful? Give feedback.
-
Just chiming in. I've voted for option 2 because we get all the benefits with a bit less breaking changes in sensitive case - casing. const Root = () => <div className="root">root</div>;
...
<Input
slots={{ Root }}
/> And regarding the
|
Beta Was this translation helpful? Give feedback.
-
Hi
better than this?
If it is, then can you give an example that shows why? Thanks !! |
Beta Was this translation helpful? Give feedback.
-
We've discussed the advantages and disadvantages of renaming the
components
/componentsProps
props in #33416. It's time to make a decision if we want to proceed with this further.Beta Was this translation helpful? Give feedback.
All reactions