oh heck yeah <https://github.com/theapache64/rebu...
# compose
c
a
Good job
j
nice
a
Although looks like at the moment, this is best posted in #compose-android
c
keep forgetting they made that split.
e
it's only Android specific because of its build setup and the use of
android.util.Log
, and its hack for getting
composableName
is JVM-specific; that aside, the core idea would be implementable in compose-multiplatform
s
i hope if they can add something like "Self._printChanges()" from SwiftUI in Compose.
s
Note that the function can also be recomposed because of the inner state change, which is a bit harder to track :)
e
@Shakil Karim https://stackoverflow.com/a/69859435 that's not meant to be used by SwiftUI code
c
@theapache64 looks like you've got a multiplatform freature request buddy. 😅
t
@Colton Idle 😄 uh ho!! i didn’t expect a multiplatform request this soon. Tracking it here : https://github.com/theapache64/rebugger/issues/2 (please vote)
@shikasd I am thinking of creating an IDE plugin to do that https://github.com/theapache64/rebugger/issues/1. That’d fix it right? or you’re talking about a different problem ?
s
Depends on what you want to track,
rebugger
is tracking call site changes, I was thinking more along the lines "what read states are causing current scope to recompose"
It is fairly frequent to pass the same lambda/state as a parameter, so you won't see a difference on the callsite, only if you track state reads
t
aaah..got it. that’s something i wanna look little more