Showing 21-40 of 163 packages
Fluent UI React hooks.
React hooks for non-primitive dependencies
An ESLint plugin that disallows the use of browser globals. It is useful when you want to make sure that your code is not using browser globals, which can cause issues when running in a non-browser environment.
Enhanced React useEffect and useLayoutEffect hooks with smart dependency tracking, debugging tools, and automatic optimization
ESLint rule to check unused and potentially unnecessary dependencies in React Hooks.
This is a small wrapper that allows unit-testing react components that use `useEffect` and `useLayoutEffect` using enzyme's [shallow](https://enzymejs.github.io/enzyme/docs/api/shallow.html) renderer.
用法与 useLayoutEffect 一致,但 deps 通过 lodash isEqual 进行深比较
Because sometimes you want your effects to run right away
useMedia React hook
This is a plugin for [Biome](https://biomejs.dev/), the JavaScript and TypeScript linter, that identifies bad uses of the `useEffect` hook in React.
Set of React Hooks
useDimensions - a React Hook to measure DOM nodes
`useLockBodyScroll` is a React hook for controlling the scroll behavior of the body element in web applications. It's particularly useful for scenarios like opening modals or overlays where background scroll needs to be disabled.
ReactLynx lifecycle demo
React Hooks for shallow rendering
Generate marble-style identicons
A lightweight React head manager for CSR apps. Safely manage document title, meta tags, Open Graph, and SEO metadata without duplicates. TypeScript support included.
`useElementSize` is a React hook that enables dynamic tracking of an HTML element's dimensions. It updates the element's width and height in response to window resizing, element mounting/unmounting, and ref changes.
Tools for using GSAP in Kiru, like useGSAP() which is a drop-in replacement for useLayoutEffect()/useEffect()
Shallow enzyme rendering with effect support