react-use-local-storage icon indicating copy to clipboard operation
react-use-local-storage copied to clipboard

Doesn't work well in testing environments

Open nwalters512 opened this issue 6 years ago • 0 comments

Since any meaningful behavior hinges on the availability of the window object, this hook doesn't work well in testing environments. We should be able to gracefully degrade to work exactly like setState if window or the localStorage API isn't available.

nwalters512 avatar Feb 19 '19 02:02 nwalters512