Is there a difference in accessing values directly...
# compose
k
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
Assuming that you don't override this local, it is semantically the same Performance wise, variable is better for repeated access
🙏 1