withAction
Last updated
Last updated
for dispatching an action, when component is about to mount.
The action will receive the and the from
withAction(action)
is useful, when you want to start running side-effects in the Epics right after Component being rendered.
action
(string
): Redux to dispatch.
(Function
): A , which dispatches an when Component is mounted.
./src/containers/About