Kinar Sharma
08/05/2024, 10:26 AMDaniel Weidensdörfer
08/05/2024, 10:31 AMKinar Sharma
08/05/2024, 10:35 AMDaniel Weidensdörfer
08/05/2024, 11:03 AMKinar Sharma
08/05/2024, 11:14 AMAndraz
08/07/2024, 5:50 AMwindow.location.pathname
to get the URL
Library Decompose fully support deeplinking, paths, web history
https://arkivanov.github.io/Decompose/navigation/stack/browser-history/
Check their compose sample by running ./gradlew :sample:app-js-compose:jsRun
Kinar Sharma
08/07/2024, 8:35 AMKinar Sharma
08/08/2024, 10:56 PM{host}/items
• {host}/item_details/{item_id}
So, the first page has list of items and the second page opens on the click of any item card, and shows the details of that particular item, so I want to keep the path of second page like this {host}/item_details/{item_id}
where item_id
represents the id of that particular itemAndraz
08/09/2024, 5:03 AMgetPathForConfig
getConfigForPath
methods
I just had to add one line to index.html
to support 2+ path levels
<head>
<base href="/">
</head>
Found about it hereKinar Sharma
08/09/2024, 6:15 AM