Redux boilerplate code
This commit is contained in:
parent
b794708e2e
commit
69d47c85f0
8 changed files with 12058 additions and 7 deletions
5
src/js/actions/index.js
Normal file
5
src/js/actions/index.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { ADD_ARTICLE } from "../constants/action-types"
|
||||
|
||||
export function addArticle(payload) {
|
||||
return { type: "ADD_ARTICLE", payload }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue