Hello guys, I have a kinda stupid question. Is the...
# doodle
m
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
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