Hi! I wonder if anyone here tried before to manage...
# mvikotlin
a
Hi! I wonder if anyone here tried before to manage the url with Decompose for the web using Compose for web ?
a
a
I will check that
I don't know why! But it switch the urls!! This the first screen: The url is "/signin" which is not correct and the second screen url is "/" which is not correct
It switch between the two screen !!!🤔
Do I have to integrate deepLink to make it works ?
a
Most likely you made a mistake in getPath lambda
a
This is for the 1st screen
message has been deleted
I ignore the deeplink maybe because of that ?
a
You are doing it wrong. The controller should be used only by one single component responsible for the navigation. Typically the root component. https://arkivanov.github.io/Decompose/router/browser-history/#using-the-webhistorycontroller
Inside the getPath function you should map the given configuration to a path string.
a
Ok I will try again
a
Let me know how it goes. The API is experimental so I'm looking for feedback!
a
Yes sure