useState vs useRef: How to Choose the Right React Hook
State management is a critical part of most front-end applications. In React, you have a few mechanisms to track state, but two common ones are the useState and useRef hooks.
If you're not familiar with these hooks, it can be confusing to know when t...
blog.thesshguy.com4 min read