concept synchronous action creator in category react
appears as: synchronous action creator, synchronous action creators

This is an excerpt from Manning's book Redux in Action.
Synchronous action creator— All action creators that return an action are considered synchronous action creators: function fetchTasksSucceeded(tasks) { return { type: 'FETCH_TASKS_SUCCEEDED', payload: { tasks: [...] } }
This section is broken up into two parts: synchronous and asynchronous action creator tests. As we’ve mentioned, the latter will account for additional complexity, given the need to manage side effects. You’ll start nice and easy with synchronous action creators, though.
Synchronous action creators optionally accept arguments and return a plain object, called an action. These are pure functions that produce deterministic results. The following listing introduces a familiar action creator, createTaskSucceeded. Be sure to export the function to make it available to a test file.