Physical Address

304 North Cardinal St.
Dorchester Center, MA 02124

Tag react hooks

React useLayoutEffect Hook

React useLayoutEffect Hook

In this part, we will learn about react useLayoutEffect which is almost similar to useEffect hook. React useLayoutEffect Hook mostly has similar working and functionalities as useEffect hook, people usually refer to use useEffect hook much over useLayoutEffect. Now the…

React useId Hook

react useId

In this part, we will learn about react useId hook, React useId hook used to provide unique ID to elements. This hook generates a string which is unique ID for each element and this ID will be on server side…

React useTransition Hook

react useTransition hook

In this part, we will learn about react useTransition hook. React useTransition is used to boost our application performance and makes it even faster. useTransition and useDeferredValue are the hooks which used to render the complex logic or bigger data…

React useDebugValue Hook

react useDebugValue

In this part, we will learn about react useDebugValue hooks. React useDebugValue hook doesn’t affect the user experience, but instead of that, it improves the developer experience. React useDebugValue is the hook with which we can debug our custom hooks…

React useState Hook

useState Hook

In this part, we will see the first and most important hook, which is React useState hook. useState hook is pretty straight forward where we have 2 arguments, one for current state and second one for update state. current state…