{In a Dev's shoes}

Archive

Optimize Your React App with React.memo

Have you been confused about how React re-renders? What exactly happens when you wrap a component with React.memo and why many times it does nothing?

I have written a deep dive which goes over all these questions. You’ll learn all about React.memo, shallow comparison, effect of passing different types of props to a memoized component.

Read the article here

#4
July 3, 2020
Read more

[Freebies, Learning Resources included] How frontend developers can get better at design?

A question everyone has in their mind… Should frontend developers be able to make great designs?

As a frontend developer, I thought its not my job. My job is to write application logic, handle login flow, make API requests and deliver overall fast experience to the user and this reflected in my side projects. And when I was working for companies we were using some bootstrap template.

But I was getting bored of making CRUD apps and the question was eating me up. Should I improve my design skills? Would I be judged on the basis of my design skills or my ability to write scalable CSS.

Some things which got clear pretty early on was in a small startup, front-end devs have to take care of the design. Most of the time startups don’t have full-time designers. Either they give the whole frontend to be built on contract or hire a frontend dev and ask them to build the design.

#3
March 23, 2019
Read more

Ideal boilerplate for your reusable React component

Getting started with a functional React component is easy but when we are building reusable components we should keep somethings in mind.

  1. We can render custom markup inside the component to make it more flexible.
  2. We can add classes to the component for modifying the styling of the component.
#2
January 10, 2019
Read more

Some tips for GSoC

This is the first post so I’ll keep it short.

Many people ask me for tips about Google Summer of Code. I don’t know of any tricks but I can share what I think helped me get selected at Probot.

I actively participated in the Slack Channel.

While I was setting up Probot in my project I got to learn many things due to my silly mistakes. I had forgotten one step due to which I couldn’t receive any response. Then a value of a field in the config file was wrong.

#1
January 4, 2019
Read more
Brought to you by Buttondown, the easiest way to start and grow your newsletter.