Is it intended behavior to not be able to call a composable function from Clickable(onClick={ ComposableFoo() }){...}?
I get the "Composition requires active composition context" error if I try to do this.
👌 2
l
Leland Richardson [G]
12/24/2019, 12:00 AM
yes, this is correct. onClick is in an event, and it gets called outside of “composition”, so calling a ComposableFoo is meaningless there