4 ms·
For a concrete example, Relay uses them to garbage collect data in an asynchronous fashion. If an update is detected during the course of a gc, it is aborted.
by rbalicki 4y ago
For a concrete example, Relay uses them to garbage collect data in an asynchronous fashion. If an update is detected during the course of a gc, it is aborted.
https://github.com/facebook/relay/blob/main/packages/relay-runtime/store/RelayModernStore.js#L567 https://github.com/facebook/relay/blob/main/packages/relay-r...