Replies: 6 comments
-
@Wadeewee Voted 👍 |
Beta Was this translation helpful? Give feedback.
-
@Wadeewee Voted 🚀 |
Beta Was this translation helpful? Give feedback.
-
Voted. 🙌🏻 |
Beta Was this translation helpful? Give feedback.
-
@Wadeewee Voted, good job on providing the resources 🚀 Note: Enough votes have been made 🌟 |
Beta Was this translation helpful? Give feedback.
-
@ryan-conway @Wadeewee Should we resolve/lock this discussion only after the issue has been created? I'm worried we might forget about it otherwise 🙇 |
Beta Was this translation helpful? Give feedback.
-
Issue created here |
Beta Was this translation helpful? Give feedback.
-
What happened
Currently, we are not aware of providing a
Modifier
parameter in the element function's parameter list when we create aCompose
function:Why should we have default parameters in Compose? 💭 Here's the reason why we should have it: 👇
Modifier document official ⬅️ See more
A best practice from API Guildeline for Jetpack Compose ⬅️ See more
Jetpack Compose in Compass, We also have the rule in compass, but we don't have a part of the example what should we be aware of it.
Twitter Compose Rules, This's a good guideline from Twitter to make it easier for us to understand. So, Let's dive deep into the concept. 🚗 💨
When should we expose modifier parameters? 🤔
What should we be aware of it? 🚨
How should we implement it? ⚒
More ref:
Who Benefits?
Developers
What's Next?
modifier: Modifier = Modifier
when we create a Compose function.Modifier
to add the part ofwhat should we be aware of it
in Jetpack Compose in Compass.7 votes ·
Beta Was this translation helpful? Give feedback.
All reactions