Onur Taşkıran LogoOnur Taskiran's Personal BlogOnur Taskiran Blog
HomeAboutProjectsServicesContact
HomeAboutProjectsServicesContact
Onur Taşkıran LogoOnur Taskiran's Personal BlogOnur Taskiran Blog
HomeAboutProjectsServicesContact
HomeAboutProjectsServicesContact

Posts tagged with "react"

React useTransition Hook

React useTransition Hook

14 November 20233 min readWeb Programming

React is fast by default. So the useTransition hook has specific use cases and is probably not something you will use in all your applications. useTransition hook is a hook available in React 18 and above and is used to manage asynchronous operations. This hook is designed to provide better performance and faster user experience...

#React#useTransition Hook#Performance Optimization+4 more
React useMemo Hook

React useMemo Hook

29 September 20234 min readWeb Programming

React's useMemo hook is a hook used to optimize computationally expensive operations. The way useMemo works is very similar to use callback. The difference between useCallback and use memo is that it stores the value we get back from the function. So UseCallback is used to memorize a function...

#React#useMemo Hook#Performance Optimization+3 more
React UseCallback Hook

React UseCallback Hook

24 September 20233 min readWeb Programming

In React, we may sometimes experience slowdown problems due to unnecessary component renderings. There are many ways to solve these problems in React. We do not use UseCallback very often in our projects, but when we do, our application is much better in terms of performance.

#React#UseCallback Hook#Performance Optimization+3 more
React useReducer Hook

React useReducer Hook

07 September 20236 min readWeb Programming

useReducer is a state management method in React, just like useState. It provides a structure and set of rules that lead to fewer errors and easier code management. We use it to handle more complex state logic and to perform state changes in a more structured way compared to useState.

#React#useReducer Hook#State Management+3 more
React Context Api

React Context Api

02 September 20233 min readWeb Programming

Context Api allows us to transfer data that each component can use. So the context api gives us global data. When transferring data through props in nested components, we have props hells with the branching method.To get rid of props hell, we define a Global data (context Api) so we can send the same data to all components via context api...

#React#Context API#State Management+3 more
React UseRef Hook

React UseRef Hook

08 August 20232 min readWeb Programming

Usually used to directly access a DOM element. We can make changes like we do in Valillajs. We can also be used to store a mutable value that does not cause rework when Updated. that is, changes made to the current value of UseRef will not re-render. UseState triggers the component to be rendered again...

#React#useRef Hook#DOM Manipulation+3 more
Previous123Next