Access Token & Refresh Token in User Session ManagementAccess tokens and refresh tokens are both used in authentication and authorization processes to help balance security and user experience. Their main purpose is to allow users to stay logged in, so they don't have to log in again and again. Access To...Jun 12, 2024 · 4 min readsaran-ka-gyaan.hashnode.dev
DevBytes: Your Ultimate Source for Latest Dev News, Trends, and Tips!"Time is the scarcest resource and unless it is managed nothing else can be managed." - Peter Drucker. In this new era, technology is growing too fast and people who will not stay up to date with the new trends will be left behind! this is true for a...Mar 28, 2023 · 4 min readsaran-ka-gyaan.hashnode.dev
React state and useState() hookIn React, every change in the DOM is considered as a different state; for handling those state changes, there is a hook called useState. What is State A way for React to remember saved values from within a component. This is similar to declaring vari...Mar 15, 2023 · 4 min readsaran-ka-gyaan.hashnode.dev
Props In ReactWe all know what are the components in react. A component is just like a JavaScript function which helps in building the UI of a page. Now suppose you built a product called 'Twitter' and you want to show it on your portfolio that you have built this...Mar 6, 2023 · 4 min readsaran-ka-gyaan.hashnode.dev
Components in ReactComponents are UI utilities we can use to distribute our UI in our code. For now, think that components are JavaScript functions and we can pass 'props' as an argument to them. function MyFun(props){ //MyFun is a component //props is an argument ...1SMar 6, 2023 · 3 min readsaran-ka-gyaan.hashnode.dev