react-hooks icon indicating copy to clipboard operation
react-hooks copied to clipboard

A collection of commonly used hooks for React apps.

Results 3 react-hooks issues
Sort by recently updated
recently updated
newest added

This is not necessary for the initial render: https://github.com/amannn/react-hooks/blob/8c4d79f5a6b3f81601cf29205bfc1ec0119dc1bf/packages/use-promised/src/index.tsx#L105-L113

There is problem with `use-presence` in server environment for SSR. Currently we use Remixjs with SSR but there is an error regarding import statement Here the problem: If we try...

With this implementation: ```tsx import { useState } from 'react'; /** * @deprecated See alternatives from https://react.dev/reference/react/useState#storing-information-from-previous-renders */ export default function usePrevious(value: Value) { const [prevTrackedVal, setPrevTrackedVal] = useState(); const...