August 2017
Beginner
374 pages
10h 41m
English
First, we define the undo and redo action types:
export const actionTypes = { UNDO: 'UNDO', REDO: 'REDO'}
export const INCREMENT = 'INCREMENT'export const DECREMENT = 'DECREMENT'export const RESET = 'RESET'export const UNDO = 'UNDO'export const REDO = 'REDO'
Read now
Unlock full access