What, Why, and How Javascript Static Initialization Blocks?ES2022 introduces a new feature called static initialization blocks. With static initialization blocks, we can initialize static variables and execute some code only once when the class is loaded. https://www.youtube.com/watch?v=Hv-VldcP6gc&list=PLAA...Jan 21, 2023·5 min read
React best practices and patterns to reduce codeI have been working with React.js for the past couple of years and have been using it for several different projects. While working on different projects I’ve found some common patterns I would like to share in this blog post. Without further ado, Le...Dec 17, 2022·4 min read
The Complete Guide to Micro-Frontends for 2023The Micro Frontend style of architecture design does for the frontend of an application what microservices do for the backend, breaking monolithic structures into smaller components that can then be assembled on a single page. Pros and cons of micro...Dec 9, 2022·5 min read
What's new in Node.js version 19?What's new in Node.js 19? A week ago, Node.js 19 was released Which includes the update of the V8 JavaScript engine to 10.7, and HTTP 1.1 KeepAlive enabled by default. Important features of the release:: Watch mode This is an experimental feature. It...Nov 25, 2022·2 min read
3 steps to create a custom state management library with React Hooks and Context APIIn this article, I will introduce the React Context API for state management and create a similar solution as Redux without using a third-party library. React Context API It’s actually not a new idea. Context API as part of React for a long time, but...Nov 21, 2022·2 min read
Javascript: No More callbacks use promisify to convert callback to promiseWhat are callback and promise? The callback is a function that is passed as a parameter to another function. And this function will be called inside the function. A promise is an object which is used to handle asynchronous operations. It is used to ...Nov 20, 2022·4 min read
React best practices and patterns to reduce codeI have been working with React.js for the past couple of years and have been using it for several different projects. While working on different projects I’ve found some common patterns I would like to share in this blog post. Without further ado, Le...Nov 19, 2022·4 min read