When I render a view and call some async API how do I update that view? I could not find any reload/refresh methods in the docs. For example:
app.get("/home") { request in
HomeController().fetchData { posts in
// Update view with response
}
return HomeController.index("/home")
}