Posts by Sunny

@Sunny

Sunny Gupta

I am a full-stack developer with 8+ years of experience, passionate about the Ja...
India code-for-next-generation.vercel.app Joined May 2025
7.4k Points197 Badges9 Connections182 Followers9 Following

Posts by Sunny

Sunny in Articles 1 min read
Web Performance is about how fast, responsive, and smooth a website feels for the user — and it affects user experience, SEO, conversion rates, and even costs. It’s not a single tool — it’s the result of how well everything works together. Key Goa...
Sunny in Articles 2 min read
They basically help to manage reactive states—but they serve slightly different purposes. What is a Signal in Angular? A signal is a reactive primitive introduced in Angular 16+ to track state changes in a more declarative and efficient way — wit...
Sunny in Articles 2 min read
Want to bring cinematic 3D effects to your Vue app? Enter TresJShttps://tresjs.org—a powerful, declarative wrapper around Three.js that plays beautifully with Vue 3's Composition API. If you’ve ever dreamed of adding Bloom, Pixelation, Motion Blur...
Sunny in Articles 2 min read
Managing async state—think loading spinners, error handling, stale data—is notoriously messy. If you’ve wrestled with nested subscriptions or redundant fetch logic in Vue+Pinia apps, Pinia Colada might be the game-changer you need. What Is Pinia ...
Sunny in Articles 1 min read
You can cleanup this by using TypeScript, ESLint, or Angular CLI’s custom schematics for automation. Option 1: Use ESLint for Cleanup Recommended This is the best practical way to clean unused imports: 1. Install ESLint if not already installed...
Sunny in Articles 2 min read
TypeScript’s utility types give you powerful ways to transform and manipulate existing types. If you’ve already used types like Partial or Pick, it’s time to expand your toolbox. In this article, we'll focus on five highly useful utility types: O...
Sunny in Articles 2 min read
To fully understand Micro Frontends MFEs, especially with Angular + Nx + Module Federation, it's helpful to look at a layered architecture diagram and explanation of each piece. Here’s a high-level conceptual architecture: ...
Sunny in Articles 1 min read
Deciding between React with JavaScript and React with TypeScript is an important early choice. Go with React + TypeScript if: 1. You want type safety – TypeScript helps catch bugs during development by checking types. 2. Your project will grow in...
Sunny in Articles 1 min read
Creating a design system is a big step toward scaling design and development efficiently. Here are 5 key tips to know before you start building one: 1. Define the Purpose and Scope First Before jumping into components or tokens, clarify why you're...
Sunny in Articles 3 min read
To implement Datadog Real User Monitoring RUM or Logs/APM into an Angular project, you'll need to follow a series of steps depending on which features of Datadog you're planning to use. Common Use Case: Datadog RUM Real User Monitoring This is th...
Sunny in Articles 3 min read
As Angular developers, we’re used to structured development, powerful CLI tools, and TypeScript's safety. But when it comes to APIs, most of us still work with REST. While REST has served us well, GraphQL offers a modern, more flexible alternative...
Sunny in Articles 2 min read
What is enough to test and maintain an application? Understanding when to use Cypress E2E testing versus unit testing Jasmine/Karma or Jest is key to building a reliable and maintainable Angular app. Each has its own purpose and benefits, and ideal...
Sunny in Articles 1 min read
To maintain fast load times when building an Angular app, especially for production, it's essential to optimize how your app is bundled, served, and initialized. Here's a guide with practical tips: 1. Use Angular's Production Build Always build wi...
Sunny in Articles 1 min read
Organized import statements enhance readability and maintainability in any codebase. ESLint helps enforce these patterns, but for automatic fixes, you’ll need an additional plugin. This guide walks through setting up and configuring ESLint for au...
Sunny in Articles 2 min read
To build a production-ready, scalable stock update system with real-time updates in Angular, you’ll want to combine a solid frontend WebSocket setup with a robust backend like Node.js + Redis + Kafka or a managed service. Real-Time Stock Updates i...
Sunny in Articles 2 min read
In Angular, Directives are powerful building blocks that let you attach behavior to HTML elements. But as applications grow in complexity, managing shared logic across components becomes a real challenge. That's where the Directive Composition API ...
Sunny in Articles 4 min read
Using locale data in your Angular application offers several important benefits, especially when building apps for a global audience. Benefits of Using Locale Data in Angular 1. Internationalization i18n Support Locale data allows your app to d...
Sunny in Articles 1 min read
Optimizing web performance is crucial for providing a fast and smooth user experience. One key metric to focus on is the Largest Contentful Paint LCP, which measures how quickly the main content of a page loads. Angular’s NgOptimizedImage directiv...
Sunny in Articles 1 min read
You will need a server-side implementation to send push notifications. Here’s an example using Node.js with the web-push library. Install web-push npm install web-push Server Code Example server.js const webPush = require'web-push'; ...
Sunny in Articles 3 min read
Reason to use service workers in a web application? One of the primary reasons to use service workers in a web application is to enable the application to access push notifications. Here are some key points about this and other benefits of service...
chevron_left

Latest Jobs

View all jobs →