Skip to content

Commit

Permalink
add asyncfetch to example route details
Browse files Browse the repository at this point in the history
  • Loading branch information
floodfx committed Feb 18, 2022
1 parent eae11ba commit a502e1f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/examples/routeDetails.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,11 @@ export const routeDetails: RouteDetails[] = [
path: "/volunteers",
summary: "Simulate signing up for a volunteer event.",
tags: ["phx-submit", "phx-change", "phx-update", "phx-feedback-for", "phx-debounce"]
},
{
label: "AsyncFetch",
path: "/asyncfetch",
summary: "Example of using async fetch to fetch data from a server. In this case, Xkcd comic data.",
tags: ["live-patch", "async/await"]
}
]

0 comments on commit a502e1f

Please sign in to comment.