News for hackers. Stuff that matters.
Re:I love React Hooks by fdim on Wednesday February 20, 2019 @02:47AM (#19206342)
Oh my, so much code for document.body.classList.toggle('dark-mode', !!locaStorage.darkMode)
Re:I love React Hooks by exogen on Wednesday February 20, 2019 @03:20AM (#19206457)
Bug: the code you posted will always do nothing.