https://kotlinlang.org logo
#compose
Title
# compose
t

Tash

02/02/2021, 8:23 PM
Hi all, had a question for Compose devs: were there any discussions/concerns around misuse of Ambients? For example, I read something that suggested Ambients be used almost as a replacement for scoped DI components (i.e. Dagger @Scoped Component). That idea feels like a misuse of Ambients, but I cant put my finger on why. Are there any guidelines/mindsets we should follow when dealing with Ambients?
t

Tash

02/02/2021, 8:25 PM
Awesome, thanks!
v

Vinay Gaba

02/02/2021, 8:25 PM
of course 😄
k

Kirill Grouchnikov

02/02/2021, 8:52 PM
😂 4
You just need to be careful with Ambients, that's all
🧌 2
c

Colton Idle

02/02/2021, 11:14 PM
Jim Sproch has entered the chat
💥 2
😂 1