Is there a simple way to tie some kind of mutable state directly to an URL parameter in a simple way?
val myParameter by remember { urlParameterState("myKey") }
// changing the state also manipulates the parameter in the url
myParameter = listOf("new value")
I think this is a pretty common usage of url parameters in compose for web.
Does something like that already exist in the library? And if not, what would be the best way to achieve this abstraction?
Is there a simple way to tie some kind of mutable state directly to an URL parameter in a simple way?
I think this is a pretty common usage of url parameters in compose for web.
Does something like that already exist in the library? And if not, what would be the best way to achieve this abstraction?