Replies: 1 comment 2 replies
-
If you are registered in Kotlinlang Slack, then you can read about this here. TLDR:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm starting a (very simple) projet to learn to develop applications with Compose Multiplatform. I'm using "Decompose" for the navigation but I have an issue, so I'm requesting help to underdand what I'm doing wrong.
I'm trying to handle the Web browser history. I can set a path depending on the "Config" model but I cannot get the Config from the path (I guess):
When starting the projet on the browser, i have {HOST}/articles and then navigate to {HOST}/articles/{articleId}. The actions back / forward are working but I cannot refresh the page ; I get an error
I followed this tutorial : https://arkivanov.github.io/Decompose/navigation/stack/browser-history/
A difference, I don't have a "JS app" but "Wasm App". I don't know if there are things to change.
I set those params
I added the dev server config (devServerConfig.js) in the folder wasmJsMain, maybe it's not the right place.
You can find the code there : https://github.com/Nbzh/kmp_test_shop/blob/develop/composeApp/src/commonMain/kotlin/bzh/nvdev/melishop/data/NavigationModels.kt
Thank you for any help.
Beta Was this translation helpful? Give feedback.
All reactions