Immediately fetch data from an API on page load

Share this video with your friends

Send Tweet

It’s a common case that a page in your application will require some initial data before it can show anything useful. In this lesson we learn that ‘epics’ in redux-observable are just functions that return Observables. Mostly we see epics that begin as a filter on the incoming stream of redux actions, but in some cases this is not suitable and you might need to just have something running immediately, regardless of user input.

Ivan Yip
Ivan Yip
~ 5 years ago

The source code repo is a 404.