Redux Thunks Dispatching Other Thunks — Discussion and Best Practices

Unit testing the third thunk — fetchAllPosts

What are we doing wrong?

Our inability to test uncovered a code smell

Unit testing the third thunk — fetchAllPosts — revisited

A thunk within a thunk

Summary

--

--

Public blockchain for the real world. Founder at Orbs.com. React fan. Ex Wix.com head of mobile engineering.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Tal Kol

Tal Kol

4.5K Followers

Public blockchain for the real world. Founder at Orbs.com. React fan. Ex Wix.com head of mobile engineering.