Questions tagged [fresh-framework]

3 questions
0
votes
0 answers

Deno Fresh show loading state while server is working

Fiddling around with the Fresh web framework (deno) and need some suggestion on how to show a loading indicator on my /posts/ screen when the user clicks on an anchor tag that leads to /posts/prune. Right now the user just sees a loading spinner on…
Norfeldt
  • 8,272
  • 23
  • 96
  • 152
0
votes
1 answer

Fresh Framework: Fetching to own API results in "URL not found"

In my "/yourPage" route, my handler is trying to fetch "/api/joke" from my local database. I get "URL not found" error. Since Fresh is server rendered, I'd like to get all the data I need when loading the first time. This works fine when fetching…
-1
votes
1 answer

Possible to do server side events with deno fresh framework

Is it possible to use server side events for a fresh POST handler? I have a long server side process and would like to return some event updates to the client meanwhile?
Norfeldt
  • 8,272
  • 23
  • 96
  • 152