π₯ The must-have custom React hook for any web application. π₯
Better Coding Academy
Posted on January 2, 2021
About Me: I've been a professional web developer for just over 10 years now. I'm currently the lead web development instructor at Better Coding Academy, and as part of what I do, I post videos on our YouTube channel at https://www.youtube.com/c/BetterCodingAcademy.
(Subscribe for awesome web development content!)
After building form after form in React, I've come to realise that something was needed to really make labels work well. After many iterations and now rewritten to support React hooks, I've come up with the useGenerateId
React hook β and I think it's truly a must-have for any React app.
Here's the 10-minute video justifying its use, writing it up, and explaining how it works:
Here's the code on GitHub, if you would prefer: https://github.com/lucaschen/use-generate-id-demo
Happy coding!
Posted on January 2, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
September 23, 2024