Is there a difference in accessing values directly vs defining a variable and then using it inside composables ?
• LocalConfiguration.current
• val config = LocalConfiguration.current
Use
config
s
shikasd
05/13/2025, 4:14 AM
Assuming that you don't override this local, it is semantically the same
Performance wise, variable is better for repeated access