Devin Schulz

Unit Testing

Combining synchronous actions using Redux Thunk

5 min read

The problem Simple front-end applications I’ve worked with have one event (click, keypress, input change, etc.), which dispatches a single action to modify part of the application state tree. At the time your application scales in complexity, that single event may need to perform several actions at once and perform some sort business logic before they are dispatched.