* 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
20 lines
357 B
Markdown
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> |