Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

action creators in redux

const addTodoAction = {
  type: 'todos/todoAdded',
  payload: 'Buy milk'
}
Source by redux.js.org #
 
PREVIOUS NEXT
Tagged: #action #creators #redux
ADD COMMENT
Topic
Name
7+5 =