GPGautam panditinblogbygautam.hashnode.dev·Dec 1, 2024 · 1 min readUnderstanding ref in React: Why and When to Use Itn React, ref is a powerful tool that allows you to directly interact with a specific DOM element or component, bypassing React's usual declarative approach. This becomes especially useful when you need to perform a task that React's state and props m...00
GPGautam panditinblogbygautam.hashnode.dev·Dec 1, 2024 · 1 min readPreventDefault: Understanding Its Importance in FormsWhen interacting with forms on a website, you might have experienced situations where you accidentally click the submit button before completing the form. This can be especially frustrating if the form is long, as the page reloads, and all your enter...00
GPGautam panditinblogbygautam.hashnode.dev·Oct 10, 2024 · 1 min readPrivate and Public KeyPrivate key → The key which is not read by any one, Accept the ownerPrivate key is not for share. Public Key → The key which is read any one and use anyoneThis is for share00
GPGautam panditinblogbygautam.hashnode.dev·Oct 10, 2024 · 1 min readAbout JWTStateless & statefulStateless: In a stateless system, information is not stored in a database or any persistent format. When a user presents a secret key, the system uses it without any restrictions, granting access based solely on the key. This mean...00
GPGautam panditinblogbygautam.hashnode.dev·Sep 7, 2024 · 1 min readAbout AccessToken And RefreshTokenWhen building a secure web application, it's important to handle user authentication efficiently. Two key components that help with this are Access Tokens and Refresh Tokens. Access Tokens : Short live and Emergency Use An Access Token is temporary...00