
6: Async React with Andrew Clark
React Podcast
00:00
React
React is able to cancel the first request and then navigate directly to the second one that he had clicked on. So it has the effect of like kind of you can think of it as like the middle one was canceled, but really it's just like we coalesce them together. If you call set state multiple times in a life cycle method, there's only one re-render. It's because we batch those updates together, so you just end up zooming to like the final state,. Same concept here.
Transcript
Play full episode