Subtyping Composables - TypeAlias Show Clip

Опубликовано: 06 Ноябрь 2024
на канале: Dave Leeds
3,177
208

"If you want to create a design system in Compose where we use a slot API that doesn't allow any composable but only allows specific ones, how would you do that?" Here's one idea that worked for me, and I'd love to hear your thoughts about it!

✨ New to Kotlin? Start your journey here: https://typealias.com/start/
... or pick up the new Leanpub Edition for offline access and more! https://book.typealias.com/

🚀 Get the inside scoop on everything I'm working on - join my new email newsletter!
Sign up here: https://newsletter.typealias.com/

🎞️ Watch the full episode here:
https://youtube.com/live/_OAJEWRBIuk

📚 Chapters
00:00 Subtyping a Composable
03:28 Even More Subtypes
04:29 Risks and Issues