Why does the CMP `Font()` a composable function? I...
# compose
j
Why does the CMP
Font()
a composable function? In Jetpack Compose its a regular function which makes it easy to define a FontFamily that can be used to construct custom
CompositionLocals
etc.
a
probably because in compose web they are loaded asynchronously
☝️ 1
☝🏾 1
j
Ahh, that makes sense. I didn’t considered the web use case.