Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Support sync thenables for lazy() #14626
Why don't we? Currently they fail with a confusing error because of a race condition (status gets set to resolved but then the result gets overwritten by the next line). This should fix it.
I figured this might be useful for testing. See airbnb/enzyme#1917 (comment). It's awkward that people look for workarounds like