Course lesson

Write Asynchronous Producers in Immer and Why You Shouldn’t

Sometimes our update logic is asynchronous. In this lesson we will investigate two ways in which we can write asynchronous update logic.

Duration
4 min
Access
Pro
Transcript
Available

Sometimes our update logic is asynchronous. In this lesson we will investigate two ways in which we can write asynchronous update logic.

…But, we will also discuss why asynchronous producers should be avoided, and how that can be done by better separating our logic.

This lesson also demonstrates the “createDraft” and “finishDraft” APIs