In mid April 2020, almost a year ago, I decided to start my programming blog mainly to expand my knowledge in some areas I felt I was lacking. The journey started with a little introduction of myself and the reasoning behind kicking off. After finishing the first post...Read more
Many developers use create-react-app to generate a boilerplate needed to quickly start developing a React application. It gives you the option to define Environment Variables is a special file named .env. All variables defined in...Read more
Forms play a crucial role in modern web development by providing a way to collect information from customers. Handling them well is a must to avoid losing data due to a silly validation mistake or bug in the code, which is not always...Read more
One of the essential things to understand when getting started with JavaScript is how to check if two values are equal. JavaScript provides three ways to do this: Abstract Equality Operator (==), Strict Equality Operator (===), and...Read more
The concept of Closures is not an easy thing to wrap your head around. Many experienced developers still have trouble understanding it, let alone explaining it to a colleague or in an interview for a new job. Today we will learn it with..Read more
Recently, while browsing the web, I came across an interesting HTML attribute that allows you to spell check your input, text areas, and content editable fields. This can become an extremely useful addition to your website if you have...Read more
Currying is the technique of converting functions that take multiple arguments into a sequence of functions that each take a single argument. A curried function acts as Higher-Order Function, which allows functions to be created with some predefined data...Read more
Reduce is one of the most difficult to understand, but the most powerful built-in array methods. It helps us perform different kinds of actions on an array without writing a lot of boilerplate code. Basically, it...Read more
In some special cases, you may need to run the React production application locally. For example, if in the development environment the app works fine, but the production environment contains some strange errors. Debugging in the production is generally bad and time-consuming...Read more