React Performance Optimization: Memoization and Keys
React is fast, but you can make it faster. Here are the optimization techniques I use most often. React.memo useMemo useCallback Keys in Lists References React Performance Optimization
React is fast, but you can make it faster. Here are the optimization techniques I use most often. React.memo useMemo useCallback Keys in Lists References React Performance Optimization
Understanding Vue lifecycle hooks is essential for managing side effects, fetching data, and cleaning up resources. The Lifecycle Common Patterns Fetch data: created() or mounted() DOM access: mounted() Cleanup: beforeDestroy()
Custom hooks let you extract and reuse stateful logic. They’re one of the best features of React Hooks. Creating a Custom Hook useFetch Hook Rules Name must start with “use” Can call…
useReducer is useState’s more powerful sibling. When state logic gets complex, useReducer brings predictability. Basic Usage With Context Combine useReducer with Context for app-wide state management – a simpler alternative to Redux:…
Computed properties and watchers are powerful Vue.js features. Understanding when to use each is key to writing clean Vue code. Computed Properties Computed properties are cached and only update when dependencies change:…
TypeScript makes Node.js development much more pleasant. Types catch bugs early and improve editor support. Here’s how to set up a TypeScript Node project properly. Project Setup tsconfig.json Package Scripts Basic Express…
Components are the heart of Vue.js. Build once, reuse everywhere. Here’s how to create flexible, maintainable Vue components. Basic Component Props Validation Custom Events Slots for Flexibility Component Organization Keep components small…
Vue.js makes building interactive web applications straightforward. Let’s build a complete todo application to learn the fundamentals. Project Setup The Main Component Key Concepts Used v-model: Two-way data binding v-for: List rendering…
React is the recommended framework for SPFx web parts, and for good reason. The component model fits perfectly with SharePoint’s web part architecture. Here’s how to build a real-world web part using…
I finally bit the bullet and learned React properly. After years of jQuery and some Angular, React’s component model took some getting used to. Here’s what clicked for me and might help…
While you are writing PowerShell modules, with lot with parameters and you might want to verify these parameters are not ‘null’ to validate some business cases. In normal powershell inline scripting context,…
It has been a while I have been reading about the major changes that areintroduced in Node.js 9.x.x / NPM 6.x.x and myself faced by Node.js application going to a toss after…
As a developer, if you are behind a corporate proxy that assigns an intermediatory self signed SSL certificate to every request to provide secure content filtering as part of cybersecurity measures, I…
Some times as a Modern Web Developer you will face some “npm install” as some of the packages would be referring to git/ssh protocol to reference private packages from Git Hub. This…
As a modern day JavaScript developer working with Node.js and NPM, it has been always any developer’s case to clean up local node modules sometimes when local build is broken. It is…
The reason I got started with topic is that, there were some buzz around Visual Studio 2015 RC support for HTTP/2 and Windows 8 – IIS support for HTTP/2. I was curious…
Microsoft has announced that with Visual Studio 2015 – Apache Cordova tools will be integrated within the main install bundle. Using Apache Cordova Tools for Visual Studio you will be able to…
As part of Microsoft’s focused approach to bring in more value to Cross platform & Open Source based initiatives Microsoft has released Visual Studio Code IDE along with .NET Core runtime for…
Word 2013 in Office 2013 having a nice feature which will help us to write blog posts and publish to any blog provider such as wordpress, blogger etc. Using the blog post…
In this article I will introduce you to the necessary requirements for preparing and earning MCSD – Web Apps Solutions Developer certification. In my previous article Permanent Link to Getting Started to…
Last few years Microsoft Developer Certification Exams progressed forward through two certification tracks or titles MCTS(Microsoft Certified Technology Specialist) and MCPD(Microsoft Certified Professional Developer). Earlier Microsoft certification titles been called as MCAD(Microsoft…
Introduction ASP.NET has travelled a long way through evolutions. Earlier when ASP.NET 1.0 was released as part of .NET Framework 1.0 in Jan 2002, there was only ASP.NET – a framework for…
The World Wide Web Consortium (W3C) has published — the complete definition of the HTML5 and Canvas 2D specifications on 17 December 2012. Quoting from the announcement here Though not yet W3C…
Since November 18, 2010, the W3C announced that Web SQL database(Sqlite) is a deprecated specification. This is a recommendation for web developers to no longer use the technology as effectively, the spec…