Re:React Concurrent Mode
by acemarke on Monday October 28, 2019 @11:39AM
(#21377915)
Literally, _throwing_ a Promise.
React will catch promises thrown during rendering, and treat that as a request to "suspend" the component and come back to it later once the promise has resolved.
React will catch promises thrown during rendering, and treat that as a request to "suspend" the component and come back to it later once the promise has resolved.