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

Web Programming Posts

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
React useEffect Hooks

React useEffect Hooks

02 June 20233 min readWeb Programming

When it comes to using effects hook in React it allows us to perform side effect in function component. UseEffect lets you perform data fetching, updating the DOM directly, timers, and side effects such as state or variable changes in your components. useEffect is one of the most used hooks in react applications.

#React#useEffect Hook#Side Effects+3 more
Using useState Hook in React

Using useState Hook in React

03 May 20232 min readWeb Programming

useState is a React Hook that allows us to access state in function components. State refers to the data or properties that should be tracked in our project. useState allows us to use React's state property without writing a class. It has been included in the react library since v16.8 (in 2019). Before it was included in the react library...

#React#useState Hook#State Management+3 more
How to Use Async & Await in JavaScript

How to Use Async & Await in JavaScript

20 April 20234 min readWeb Programming

We have two keywords Async and Await. We use async in front of a function declaration or function expression. The async keyword is used to define a particular function as an asynchronous function. When we put the Async keyword at the beginning of our function, we get a promise.

#JavaScript#Async#Await+3 more
What is a Promise in JavaScript?

What is a Promise in JavaScript?

14 April 20234 min readWeb Programming

Promise is easier to write and implement than callbacks. A promise is simply an object that represents the completion or failure of a process. It's usually something that takes time. When we use a library like Axios we return a promise and when we request data from api this process may take time and this value may never come back...

#JavaScript#Promises#Asynchronous Programming+3 more
Scop Concept in Javascript

Scop Concept in Javascript

09 April 20234 min readWeb Programming

The concept of scope is quite easy and very important topic in javascript. So let's delve deeper into this issue. Scope is the ability of our other code pieces to access this value or not, depending on where the variable defined is located. In other words, we can access variables, objects, functions according to their scope...

#JavaScript#Scope#Variable Scoping+3 more
Previous1...345...8Next