The console object provides access to the debugging console (e.g., the Web console in Firefox). The specifics of how it works vary from browser to browser or server runtimes (Node.js, for example), but there…
Popular shorthand techniques in JavaScript
The shorthand techniques can help you to write optimized code and let you achieve your goal with less coding. Let’s discuss some of the shorthand tips and tricks of JavaScript…
Understanding React Rendering: Part 2 – Improve rendering in React apps
In the recent post about understanding how React renders components, we presented how React renders UI elements and also raised awareness of the fact that React renders everything when only…
Understanding React Rendering: Part 1 – When Does React Re-render UI elements?
One of the key features of React is its ability to update the user interface efficiently by re-rendering components when there are changes to the state or props. However, this…
What are the differences between reactstrap and react-bootstrap in React?
reactstrap and react-bootstrap, they are packages based Bootrstrap framework for React developers. As developers, we can use either of them. However, it is important to remember that we should keep consistent.
Move a subdirectory into a new git repository
Context In the real world, we may probably have a large Git repository where you want to move out some sub-directories into single Git repositories. Regarding the Git repository, we…
Create preview images for your web page displayed in Google search results
You might want to create a preview image for your web page which it will be displayed in Google search results. This image will help users in the sense of…
Undo the last commit
As a software engineer or developer, I am pretty sure we often use git in our work on a daily basis. Many commits are committed to your local or remote…
How to automatically delete a Docker container after running it
Normally, a Docker container persists after it has exited. This allows you to run the container again, inspect its filesystem, and so on. However, sometimes you want to run a…
(English) Create or update a commit by a specified author
Désolé, cet article est seulement disponible en Anglais.