react-viewport-utils icon indicating copy to clipboard operation
react-viewport-utils copied to clipboard

Utility components for working with the viewport in react

Results 15 react-viewport-utils issues
Sort by recently updated
recently updated
newest added

Proposal: ``` const isScrollingDown = useScroll( ({ isScrollingDown }) => isScrollingDown, ) ``` should only fire in case `isScrollingDown` changes.

enhancement
help wanted
good first issue

There should be an option to define a server width and height as a default.

enhancement
help wanted
good first issue

The performance measurement is currently not super precise as it only collects performance information from the direct JavaScript handler that is called. It does not take layouts triggered by writes...

enhancement

In a lot of cases, the priority of an update is based on whether an element is in the viewport or not. With a simple helper function, we can make...

enhancement

**PR Description:** This update is essential to ensure compatibility with React 19, particularly addressing changes related to ref types. The modification includes the removal of the deprecated type `MutableRefObject`. **Context:**...