Bundlers Like Webpack and Vite: What Developers MissBundlers don't "combine" your files. They map dependencies and output optimized chunks. Most developers think bundlers work like this: "I run webpack, it reads all my files, merges them together, and outputs one big bundle." It doesn't work that way....Nov 3, 2025 · 6 min readblog.vivekpandey.in
Covert your React app into native app (Android & iOS)For this tutorial, we'll be using capacitorjs to convert our react app into Android and iOS build. Let me start by why do we need it? Why do we need capacitorjs? CapacitorJS is generally used to convert our existing web apps built with Vue.js or Re...Nov 15, 2021 · 2 min readblog.vivekpandey.in
Should you follow TDD?Let’s make sense Test-driven development (aka TDD) is a three-step process. It’s often referred to as the “red, green, refactor cycle” Let me explain the process: Red: It involves writing a function to test a feature which you’re going to add in th...May 18, 2021 · 2 min readblog.vivekpandey.in
What's better to wrap a SVG - Object, or Img?To be exact I wrapped the SVG in Img tag and went with it. It worked obviously, but it had its own shortcomings. This is what I’m going to discuss today. Let’s get started with discussing the cons of wrapping a img tag: Limited CSS based styling. ...May 15, 2021 · 1 min readblog.vivekpandey.in
What to use Let or Const?It seems that netizens believe that one should use const wherever possible, only falling back to let where necessary, as can be enforced with the prefer-const ESLint rule. Let vs Const vs Var: We generally want to use let. If we’re not using the sam...May 12, 2021 · 2 min readblog.vivekpandey.in