thunk npm package code example Example 1: npm install redux thunk npm i redux-thunk Example 2: redux thunk npm npm install --save redux-thunk