tearing

A visual glitch in which different parts of the screen show different versions of the same data at the same time.

In more detail

It can happen with concurrent rendering if an outside store changes while React has paused part way through a render. useSyncExternalStore prevents it by forcing a consistent snapshot, and React commits DOM changes all at once for the same reason.

Related terms

Taught in

References