Hey! I've got some problem with `ktor-client` for ...
# ktor
m
Hey! I've got some problem with
ktor-client
for the
wasm
in compose multiplatform project. Long story short - invoking the request causes web page to reloads.
Copy code
LaunchedEffect() {
   fetchUsers()
}

...

suspend fun fetchUsers() {
  delay(5000)
  return listOf(User, User)
}
Works OK
Copy code
LaunchedEffect() {
   <http://client.post|client.post>("/login") ...
}

...

client = HttpClient { ... }
Infinite loop
a
Can you explain how the effect of reloading the web page relates to the behavior of the Ktor client?
m