News for hackers. Stuff that matters.
Re:Show HN: A Simple LocalStorage Hook in React by funemployed on Wednesday November 06, 2019 @11:18AM (#21463994)
browser compatibility/other edge case handling would be one decent reason to utilize a package for otherwise straightforward implementations. The MDN docs have a helpful walkthrough for feature detecting localStorage that would make a useful addition to your library. https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage...
Re:Show HN: A Simple LocalStorage Hook in React by r0rshrk on Wednesday November 06, 2019 @09:49PM (#21469949)
Ooh, thanks. Must have a look