Youssef Shoaib [MOD]
04/30/2024, 9:19 PM@Composable lambda parameter with @NonSkippableComposable , which is causing a lambda that I know shouldn't be skipped to be skipped. The alternative seems to be `inline`ing.Ben Trengrove [G]
04/30/2024, 9:21 PMYoussef Shoaib [MOD]
05/01/2024, 12:22 PMcurrentRecomposeScope to invalidate some places. I'm running a custom composition to produce values out of, so I expect to be able to invalidate it when I want, but if the values being produced are Unit, it doesn't get invalidated in the right places.
Now thinking about it, I really shouldn't have the expectation that every composable I want to run will actually run.
Not sure if you can answer this, but would using ControlledComposition be the right approach here? I can't find any good docs about it, but I want something like invalidateAll because my Composables have intentional side-effects. This is a very niche use case, I know, but is there a supported way?
If you're curious, I'm using Compose to create delimited continuations, and it works pretty well, except when it doesn't lol!Youssef Shoaib [MOD]
05/01/2024, 12:49 PMStable and overriding equals to always return false, but that feels hacky. Maybe an explicit @Unstable annotation could be conceptually simple enough?Ben Trengrove [G]
05/01/2024, 8:00 PM@NonRestartableComposable work for your lambda?Ben Trengrove [G]
05/01/2024, 8:00 PMshikasd
05/01/2024, 8:05 PM@Composable lambda is always restartable, the groups are hardcoded in runtime.
I am also confused about what you are trying to achieve here, so might need more context to help. Ideally, you won't be using currentRecomposeScope for invalidation and rely on states instead.