Join Slack
Powered by
Hello guys, I have a kinda stupid question. Is the...
# doodle
m
Michal Landsman
03/03/2025, 3:28 PM
Hello guys, I have a kinda stupid question. Is there a way how to manipulate with browser window location api? I want to operate with query params, history in the app. Two way binding: browser -> app, app -> browser.
n
Nick
03/03/2025, 8:37 PM
yes, you can use query params to interact with your app. take a look at the Contacts tutorial (as well as the Todo one) (
https://nacular.github.io/doodle-tutorials/docs/contacts#routing
) for an example of this. it uses a simple Navigator (
https://github.com/nacular/doodle-tutorials/blob/master/Contacts/src/commonMain/kotlin/io/nacular/doodle/examples/contacts/Navigator.kt
) abstraction atop a Router that uses query params for the browser.
❤️ 1
Open in Slack
Previous
Next