https://developer.android.com/jetpack/compose/compositionlocal#creating-apis
If the value of a static composition local updates, then
everything in the content lambda where you call CompositionLocalProvides gets recomposed.
If the value of a composition local updates, then compose will only recompose the parts that actually read the current value.
So then, why would you ever want to use static composition local? The docs say that if the value is something that is really unlikely to ever change, then its better to use static composition local performance-wise.