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
Now that kmdc has only a few mdc components left to wrap, it would be good to get some feedback on the API design. There are two key areas - composable names and custom property management.
I'm looking for a community vote and feedback on these options (if you think of something else, let me know bellow)
Composable Naming
😄 Fully namespaced names like we have now - MDCButton, MDCDataTable, MDCDataTableContainer
🎉 Concise names without namespacing - Button, DataTable, DataTableContainer
❤️ Concise names without namespacing and subspacing - Button, DataTable, Container
Custom Property Management
👍 Lambda based opts builders - opts: Builder<MDCButtonOpts>
👎 Flattened props as component arguments - type: Type, disabled: Boolean
Vote by reacting to appropriate emojis on the post.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Now that kmdc has only a few mdc components left to wrap, it would be good to get some feedback on the API design. There are two key areas - composable names and custom property management.
I'm looking for a community vote and feedback on these options (if you think of something else, let me know bellow)
Composable Naming
😄 Fully namespaced names like we have now -
MDCButton
,MDCDataTable
,MDCDataTableContainer
🎉 Concise names without namespacing -
Button
,DataTable
,DataTableContainer
❤️ Concise names without namespacing and subspacing -
Button
,DataTable
,Container
Custom Property Management
👍 Lambda based opts builders -
opts: Builder<MDCButtonOpts>
👎 Flattened props as component arguments -
type: Type, disabled: Boolean
Vote by reacting to appropriate emojis on the post.
Beta Was this translation helpful? Give feedback.
All reactions