rooks
rooks copied to clipboard
useLocalstorageState doest reinitialize when new key is provided
e.g. https://codesandbox.io/p/sandbox/quizzical-smoke-p455gq?file=%2Fsrc%2FApp.js%3A2%2C10-2%2C30 Clicking on button1 should set key:1, value:['test'] in local storage, but instead the value is [].