Almost a year ago, I wrote Redux and Forms and APIs, Oh My!. It introduced an adapter to make Redux form and redux-api-middleware work together, but only worked with Redux form 4.x and 5.x. Since then, Redux form 6.x has come out, and it requires a small update.
Redux Form 6 was a big change, but fortunately only requires a small change the adapter function:
The only difference from the original is on line 6: We have to wrap the result of
formatErrors in a