useBreakpointChange
Specification
Executes a given callback function whenever a breakpoint changes. Provides a breakpoint name that matches the current viewport as the first argument.
Breakpoint changes are based on useViewportChange
, and are also debounced.
Definition
Example
Last updated