How are redux thunks implementation details? episode artwork

EPISODE · Feb 15, 2023 · 6 MIN

How are redux thunks implementation details?

from The Call Kent Podcast · host Kent C. Dodds

The official Redux recommendation is to avoid testing thunks in isolation and instead opt for integration testing with redux connected components. The main reason given is that thunks are considered implementation details.Why are thunks considered implementation details? In the context of async thunks in RTK can you give examples of how testing an async thunk might lead to false negatives and false positives in our tests? What are your opinions on testing thunks in isolation that conditionally dispatch other actions, something that my team at work often does.Example of a custom render method (docs on this)How are redux thunks implementation details? 

Episode metadata supplied by the publisher feed · Published Feb 15, 2023

Embed this episode

NOW PLAYING

How are redux thunks implementation details?

0:00 6:28

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of The Call Kent Podcast?

This episode is 6 minutes long.

When was this The Call Kent Podcast episode published?

This episode was published on February 15, 2023.

Can I download this The Call Kent Podcast episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!