f4d6cbfc19
* Many improvements to the Apollo examples * Use static properties
12 lines
208 B
JavaScript
12 lines
208 B
JavaScript
export default {
|
|
example: (state = {}, { type, payload }) => {
|
|
switch (type) {
|
|
case 'EXAMPLE_ACTION':
|
|
return {
|
|
...state
|
|
}
|
|
default:
|
|
return state
|
|
}
|
|
}
|
|
}
|