12 lines
149 B
Markdown
12 lines
149 B
Markdown
|
---
|
||
|
title: Define a Redux Action
|
||
|
---
|
||
|
## Define a Redux Action
|
||
|
|
||
|
Here is how to declare a Redux Action.
|
||
|
```react.js
|
||
|
let action={
|
||
|
type: 'LOGIN'
|
||
|
}
|
||
|
```
|