How React.js Virtual DOM works?

If you are using React or learning React, you must have heard of the term “Virtual DOM”. Now what is a Virtual DOM, and why does React use it? Real DOM First things first, DOM stands for “Document Object Model”. The DOM in simple words represents the UI of your application. Everytime there is a…

Better Git with fixup and autosquash

Today I learned a new thing: You can automate your rebases with —fixup and —autosquash 1. Some explanations —fixup & —autosquash : automatically marks your commit as a fix of a previous commit : automatically organize merging of these fixup commits and associated normal commits Preferably, you won’t…

Promises, async/await in Go with Channels

Coming from Javascript (Node.js) world and then start learning Go, I get used to using the simple syntax. It’s just so easy for newbie to learn and quickly get familiar with. On the contrary, Go doesn’t follow the pattern at all. Instead, it introduces and . However, it isn’t difficult to…

Why do we need functional programming?

I assume that you know what the functional programming is. A great question (and maybe your first question) is: “Why do we need functional programming?” The answer to this lies in one of the best books in the programming world: Clean Architecture by Uncle Bob “Why would an architect be concerned…

What is the OAuth 2.0 Implicit Grant Type?

The Implicit Grant Type is a way for a single-page JavaScript app to get an access token without an intermediate code exchange step. It was originally created for use by JavaScript apps (which don’t have a way to safely store secrets) but is only recommended in specific situations. This post is the…

Page 2 Of 12