`rememberUpdatedState` in Compose
In Jetpack Compose you can use rememberUpdatedState to capture values that may update over time but without a full restart of the rememberUpdatedState function.
In Jetpack Compose you can use rememberUpdatedState to capture values that may update over time but without a full restart of the rememberUpdatedState function.
The default Material3 Scaffold component adds the height of the bottomBar parameter to the inner padding which resulted in the issues I was having with the floating navigation bar. Removing all calls to Modifier.padding and wiring down the padding parameter as contentPadding resolved the problem.
There are APIs in Jetpack Compose to be able to size things exactly as tall/wide as specific Insets, which is documented here.
Paparazzi enables a radically faster and improved UI testing workflow, and using a small workaround we can bring that to our multiplatform Compose projects