Bugged🐞

Profile

Written by M. Bagher Abiat, the one Who loves solving stuff and writing about them.
Follow him on Twitter, Github and Dev.to. Check out his newsletter.

The useEffect Cheatsheet

April 9, 2021

When I started ReactJS, I really enjoyed my first steps, component, props and many fun things about react. One of that...

Scheduling in web

March 26, 2021

Imagine doing 10 tasks continuously; maybe we don't get tired after those 10 tasks, but how about 50 tasks or 100 tasks?

Next-generation web with isInputPending

March 16, 2021

As we know, almost everything in javascript gets done in a single thread, which gives us a unique model of controlling our work in the browser. With a single thread...

How JSX works?

March 11, 2021

Every ReactJS developer knows about the jsx magic, it let us write some HTML in javascript, and that's how the magic happens. We can do this kind of stuff in tools like babel.

Big useEffect mistake

March 7, 2021

In Reactjs, we encountered infinite loops or useless re-rendering a lot. It's something unavoidable, but we can be more attentive about it sometimes.

React Context without Provider + useMutableSource

February 24, 2021

A while ago, I was reading an RFC from react's RFCs called useMutableSource; it was an experimental feature that, in a nutshell, lets you safely read, write and even edit an external source.

A wild ride in my 16th year

February 15, 2021

I'm not 16 anymore from now on (Feb 15, HBD to myself🎉), But my 16th (2020-21) year on earth was the first year of my professional career where I started learning and making things seriously...

How to read open-source js libraries

February 6, 2021

All of us, for one time at least, have plotted to contribute to one open-source library, it goes well but when we take a look at the source code, we become incapable and dumb...

Let's build 2 hooks to manage Next.js Queries

October 28, 2020

Sometimes we have complete APIs, but maybe at the same time, they're not, but I am happy with that. We can’t expect everything we need to be in one specific tool.

Tree shaking goodness

September 11, 2020

Tree shaking is a simple concept to reduce the size of production build to have faster TTFB (Time To First Byte or page load time)...

Next Dynamic imports

September 9, 2020

In this little article, I'm not teaching you about dynamic import, but I'll give some ideas about dynamic imports in Next.js specifically ...