-
Hi, I am having a problem with my code firing the onDone transition when an invoked fetch request completes. Now, this is really simple stuff I'm sure and very similar to the documented example but I'm not doing something right. Expected behaviour
Actual behaviour
I can see the fetch succesfully getting the result back from the API through a console tap function on the fetch chain but nothing is being processed from my onDone transition. I have a tray of over ripe fruit I can throw at myself once someone points out how dumb I've been. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I should note that if your editing on codepen you'll probably want to turn: File > Preferences > CodeSandbox settings >Preview > Preview on edit OFF to avoid throttling on the example.com api requests. |
Beta Was this translation helpful? Give feedback.
-
You have forgotten to return your promises from service creators - please just add |
Beta Was this translation helpful? Give feedback.
You have forgotten to return your promises from service creators - please just add
return
before thefetch(...)