Muhammad Usama AkramUnderstanding ‘this’ in JavaScript: Scope, Usage, and Handling with Regular vs. Arrow FunctionsJavaScript is a popular programming language that is used to create dynamic web applications. It is a versatile language that can be used…May 6, 2023May 6, 2023
Muhammad Usama AkramUnderstanding Zombie Functions in JavaScript: How to Avoid Memory Leaks and Improve PerformanceHave you ever thought that why my code is taking too long to execute even after making it fully optimized in all the manner you knew…May 3, 20231May 3, 20231
Muhammad Usama AkramJavaScript Closures: A Comprehensive Guide for Beginners and ProfessionalsJavaScript closures can be a tricky concept to understand, but they are a powerful feature that can greatly enhance the functionality and…May 2, 2023May 2, 2023
Muhammad Usama AkramPassing data between React components without using props or state management toolsIn an interview I was asked a question to pass the data between two component without props, or any state management tool. Than I noticed…Apr 20, 2023Apr 20, 2023
Muhammad Usama AkramUsing the useContext Hook for Efficient Global State Management in ReactReact is a popular JavaScript library for building user interfaces. As applications grow in size and complexity, managing state can become…Apr 20, 2023Apr 20, 2023
Muhammad Usama AkramReact Hooks: A Guide to Using Multiple useEffect Hooks or a Single Hook with Multiple DependenciesReact’s useEffect hook is a powerful tool for managing side effects in functional components. One of the key decisions you'll need to make…Apr 11, 2023Apr 11, 2023
Muhammad Usama AkramReact.js useEffect vs (componentDidMount, componentDidUpdate, and componentWillUnmount)There are a lot of front-end libraries and frameworks these days. The most popular of them are React.js, Angular.js, and Vue.js. Each one…Apr 7, 2023Apr 7, 2023
Muhammad Usama AkramSynchronous vs Asynchronous Function in Node.jsNode.js is a popular runtime environment for building server-side applications in JavaScript. One of the key features of Node.js is its…Apr 4, 2023Apr 4, 2023
Muhammad Usama AkramAsync/Await vs Promises in JavascriptThere is a huge debate on async/await and promises approaches in JavaScript. I have seen developers thinking of other debating parties as…Sep 8, 2022Sep 8, 2022
Muhammad Usama AkramAdd Google Autocomplete Search in your Vue ApplicationHello, In this post we will add Google Autocomplete for the purpose of places search to our project. I am working with Vuejs for not so…Sep 8, 2022Sep 8, 2022