Files
freeCodeCamp/guide/english/certifications/front-end-libraries/redux/dispatch-an-action-event/index.md
Randell Dawson 1494a50123 fix(guide): restructure curriculum guide articles (#36501)
* fix: restructure certifications guide articles
* fix: added 3 dashes line before prob expl
* fix: added 3 dashes line before hints
* fix: added 3 dashes line before solutions
2019-07-24 13:29:27 +05:30

20 lines
357 B
Markdown

---
title: Dispatch an Action Event
---
# Dispatch an Action Event
---
## Problem Explanation
Dispatch the LOGIN action to the Redux store by calling the dispatch method, and pass in the action created by `loginAction()`.
---
## Solutions
<details><summary>Solution 1 (Click to Show/Hide)</summary>
```jsx
store.dispatch(loginAction());
```
</details>