Skip to main content

· 5 min read
Sivabharathy

What is useEffect in React?

useEffect is a React hook that allows you to perform side effects in functional components. Side effects refer to operations that interact with the outside world, such as:

  • Data fetching: Making API calls to retrieve data.
  • Subscriptions: Listening for events (e.g., from WebSockets).
  • Direct DOM manipulations: Changing the document title or manipulating third-party libraries that interact with the DOM.
  • Timers: Setting up intervals or timeouts.

· 4 min read
Sivabharathy

The rise of decentralized finance (DeFi) and blockchain technology has ushered in a wave of tokens, with ERC-20 tokens at the forefront on the Ethereum blockchain. This article explores what ERC-20 tokens are, their significance, and the process of developing your own token on both Ethereum and Polygon.

· 3 min read
Sivabharathy

Filing your Income Tax Return (ITR) using Form 16 in India is a straightforward process. Form 16 is a certificate issued by an employer, detailing the TDS (Tax Deducted at Source) for an employee. Here's a step-by-step guide to help you file your ITR using Form 16:

Step 1: Collect Necessary Documents

  1. Form 16: Issued by your employer, containing details of your salary and the tax deducted.
  2. Form 26AS: A consolidated tax statement available on the income tax e-filing website.
  3. Bank Statements: For interest income.
  4. Investment Proofs: For deductions under Section 80C, 80D, etc.

· 5 min read
Sivabharathy

Node.js is a powerful, event-driven runtime environment built on Chrome's V8 JavaScript engine. One of its core components is the EventEmitter class, which is fundamental to how Node.js applications handle asynchronous events. In this article, we'll delve into what the EventEmitter is, its advantages and disadvantages, and provide a real-world example of how to use it.

What is EventEmitter?

The EventEmitter class is part of the Node.js events module and provides a way to handle asynchronous events. It allows objects to emit events and other objects to listen for those events and execute callbacks when they occur. This pattern is essential for building non-blocking, event-driven applications.

· 3 min read
Sivabharathy

Creating REST APIs involves more than just following naming conventions; it includes adhering to a set of best practices and guidelines to ensure the API is robust, maintainable, and scalable. Here are some best standards and guidelines for REST API development:

1. Design for Consumer Needs

Understand and design the API around the needs of the clients that will consume it. This includes providing clear and precise documentation.

· 3 min read
Sivabharathy

REST API naming conventions are essential for creating readable, understandable, and maintainable APIs. Following standard naming conventions helps ensure consistency and predictability, making it easier for developers to work with the API. Here are some best practices and examples for REST API naming conventions:

· 4 min read
Sivabharathy

What’s New in Angular 18?

Angular 18 brings significant innovations in state management, data handling, and application logic flow. This latest version reduces state complexity, enhances performance, and provides better tools for developers to manage and maintain their applications. Here are the key features introduced in Angular 18:

· 4 min read
Sivabharathy

Overview

Angular applications often require the efficient management of component loading to enhance performance and user experience. One effective technique for achieving this is by using deferrable views, also known as @defer blocks. Deferrable views allow developers to defer the loading of select dependencies within a component template, such as components, directives, pipes, and associated CSS. By wrapping a section of your template in a @defer block, you can specify the conditions under which these dependencies should be loaded, significantly improving the initial load time and overall performance of your application.

· 5 min read
Sivabharathy

In the world of software development, writing clean, readable, and maintainable code is crucial. Uncle Bob’s book, “Clean Code,” provides a comprehensive guide on how developers, especially those less experienced, can achieve this. Below are some key principles and rules from the book, along with examples to illustrate how they can be implemented.