Tag: DRY
-
hooked
React introduced hooks earlier this year. For the most part, I like them. They make code more readable, if sometimes a little cluttered, especially if you useState for single vars. And they looked like a the perfect solution for a setup I was working on: logic that used state in a containing component (the definition…