Example
HTTP dashboard
Fetch data from an API and represent loading, success, and error states.
Fyr.httpLoading stateError handling
HTTP dashboard
This guided example is represented in the site source and linked from the framework repository.this.state.loading = true;
try {
this.state.items = await Fyr.http.get("/api/items");
} finally {
this.state.loading = false;
}