11 lines
245 B
Markdown
11 lines
245 B
Markdown
|
---
|
||
|
title: Dispatch an Action Event
|
||
|
---
|
||
|
## Dispatch an Action Event
|
||
|
|
||
|
Dispatch the LOGIN action to the Redux store by calling the dispatch method, and pass in the action created by `loginAction()`.
|
||
|
|
||
|
```react.js
|
||
|
store.dispatch(loginAction());
|
||
|
```
|