injectEpic
injectEpic()
is used to create a Higher-Order Components that will inject the epic into the runtime.
The Epic stays in the runtime after component is unmounted.
Arguments
epic
(Epic): an epic to inject.
Returns
(Function
): Higher-Order Components function
Example: Injecting an Epic in the Container Component
containers/Blog/index.js
containers/Blog/index.js
Last updated