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.7k Points331 Badges9 Connections244 Followers10 Following

Posts by Sunny

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...
Sunny in Articles 1 min read
The foundational concepts, tools, and best practices you need to know to be productive with Angular, whether you're a beginner or brushing up. Angular Essentials 1. TypeScript Angular is built on TypeScript. Understanding TS features like interfa...
Sunny in Articles 1 min read
Set up a modern, scalable backend using Node.js, Express, and TypeScript with hot-reloading and linting. Create an initial folder and package. json mkdir node-express-typescript cd node-express-typescript npm init --yes Installing Typ...
Sunny in Articles 2 min read
To use Jest with an Angular project instead of the default Karma + Jasmine setup, follow this structured guide to configure it properly. Benefits Faster test execution especially with --runInBand and --watch. Easier debugging rich error messag...
Sunny in Articles 1 min read
TypeScript provides compile-time type safety, but Zod adds a powerful layer of runtime validation, which TypeScript alone cannot offer. TypeScript vs Zod Feature TypeScript Zod ...
Sunny in Articles 3 min read
In Angular, dynamic strings in templates refer to data that can change over time and be reflected in the UI automatically. Angular provides several ways to handle dynamic strings within templates, such as using interpolation, property binding, direct...
chevron_left

Latest Jobs

View all jobs →