Picture of Bharathi Kannan

Bharathi Kannan

Blog

Posts

React Hooks Dependencies and Stale Closures

#React #Javascript

React hooks are heavily based on the Javascript Closures. To understand about the dependencies array we must know about Closures. We will explore closures in general and dive into React hooks world to know how the the closures effects hooks

React useEffect Hook Flow

#React #Javascript

Do you know about the order of hooks? Do you know how the useEffect hook is executed on component lifecycle phases - Mount, Unmount and Update? let us find the order of execution of useEffect hooks, once reading it you should feel confident on using it next time.

React is Just Javascript

#React #Javascript

No! React components are not returning HTML & React is not magic! React is just plain Javascript Library for building powerful and interactive User Interfaces. In this post we will also see where React is being used.