useViewportChange
Specification
Executes a given callback on every viewport size change. You can treat this hook as a throttled window resize handler.
Viewport changes are throttled by default for optimal performance.
Definition
Example
Last updated