Wait for a redux action to finish dispatching

Posted by Jessica Taylor | Updated on

Wait for a redux action to finish dispatching. You can always wrap appendItem into a promise and pass dispatch as an argument to it.

Then you can call it like this from scrolltoNextItem

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers