cashapp / redwood

Multiplatform reactive UI for Android, iOS, and web using Kotlin and Jetpack Compose
https://cashapp.github.io/redwood/0.x/docs/
Apache License 2.0
1.61k stars 70 forks source link

Write a Compose UI desktop app akin to Chrome DevTools for Redwood/Treehouse #1617

Open JakeWharton opened 11 months ago

JakeWharton commented 11 months ago

We want to see the Compose node hierarchy and see recomposition counts and zipline services and Redwood protocol messages and all that fun shit!

(video from this post)

JakeWharton commented 11 months ago

Maybe a Flipper plugin(s)? Would be nice to reuse all that infrastructure provided it helps more than it hurts. Remains to be seen.

JakeWharton commented 11 months ago

Recomposition counts come from here: https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/ui/ui-inspection/src/main/java/androidx/compose/ui/inspection/RecompositionHandler.kt;l=30;drc=31d53bd69c547c0665f04872a22feb525e5b875d

JakeWharton commented 11 months ago

https://developer.android.com/reference/kotlin/androidx/compose/runtime/tooling/CompositionObserver is the new API coming for observability though.

JakeWharton commented 11 months ago

Flipper looks like a bad choice, so probably just going to spin something custom with Compose UI for Desktop and websockets.

JakeWharton commented 10 months ago

Did a spike on this.

Blocked by:

JakeWharton commented 7 months ago

https://github.com/adrielcafe/bonsai

JakeWharton commented 6 months ago

Android we do the unix domain socket web socket thing.

For iOS maybe https://developer.apple.com/forums/thread/658393