Open in app

Sign In

Write

Sign In

Asim KT
Asim KT

19 Followers

Home

About

May 9, 2020

React Performance: Event Handlers using `useCallback` hook.

How can we get rid of the unnecessary renders on Child components when we pass in a function as a prop? — Let’s start with a simple example. We normally do this to handle an event. const Parent = ()=> { const [someVal, setSomeVal] = useState(null); const eventHandler = ()=> { handleTheOnClick(someVal); } return <Child onClick={eventHandler}/> } Say the <Child> is a pureComponent and it will re-render itself only when one of…

React

2 min read

React Performance: Event Handlers using `useCallback` hook.
React Performance: Event Handlers using `useCallback` hook.
React

2 min read


May 17, 2018

HTTP Cache Directives: Explained with history

The other day I was trying to understand about different HTTP Cache headers and how it’s working. The answers I found was varied for different people. So I spend some hours reading some various articles and made this one. Correct me if I am wrong. …

Web Development

5 min read

Web Development

5 min read


Apr 8, 2018

The Story of my portfolio

Everyone needs an online domain of their own in these days. It was like years back, I started feeling like getting a domain with my name on it and setting up a page to showcase things about me. At that time I was excited about typing my name in the…

Web Development

3 min read

The Story of my portfolio
The Story of my portfolio
Web Development

3 min read


Mar 12, 2017

Zpeed: My first PWA

Well, I was hearing about these cool Progressive Web Apps (PWA for short) for sometimes. I stumbled upon them in some emails and blogs. So I thought about making a one just out of curiosity. So that I could learn them along the way. The first step was about ‘what’…

Mobile

3 min read

Zpeed: My first PWA
Zpeed: My first PWA
Mobile

3 min read

Asim KT

Asim KT

19 Followers

Product engineer Quillbot — ktasim.com

Following
  • Eric Elliott

    Eric Elliott

  • Raymond Camden

    Raymond Camden

  • Sindre Sorhus

    Sindre Sorhus

  • Fabric Ventures

    Fabric Ventures

  • Shreya Shukla

    Shreya Shukla

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech