Create a windowed view of a live source and return a throttled snapshot.
The view is created and disposed inside an effect, so it works correctly under React StrictMode's double-mount cycle. Returns null when the window is empty.
null
Optional
Create a windowed view of a live source and return a throttled snapshot.
The view is created and disposed inside an effect, so it works correctly under React StrictMode's double-mount cycle. Returns
nullwhen the window is empty.