usehooks icon indicating copy to clipboard operation
usehooks copied to clipboard

Update localStorage

Open horita-yuya opened this issue 2 years ago • 1 comments

Previously, valueToStore are calculated directly using storedValue returned by useState.

I updated it using callback instead of that.

https://reactjs.org/docs/react-component.html#setstate

horita-yuya avatar Aug 05 '22 08:08 horita-yuya

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
usehooks ✅ Ready (Inspect) Visit Preview Aug 5, 2022 at 8:34AM (UTC)

vercel[bot] avatar Aug 05 '22 08:08 vercel[bot]