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

Don't set promise state to idle initially

Open amannn opened this issue 2 years ago • 0 comments

This is not necessary for the initial render:

https://github.com/amannn/react-hooks/blob/8c4d79f5a6b3f81601cf29205bfc1ec0119dc1bf/packages/use-promised/src/index.tsx#L105-L113

amannn avatar May 12 '23 14:05 amannn