How to use Portals in React?

Introduction to React Portals React Portals provide a powerful solution for rendering components outside the parent component’s DOM hierarchy. This feature, introduced in React 16, is particularly useful for when you need to break out of the DOM tree without losing component functionalities. This guide will take you through the nuances of using React Portals, […]

Posted in ReactJS also tagged core frontend react

What are Decorators in Typescript?

Why TypeScript Decorators? In the evolving landscape of web development, TypeScript has emerged as a game-changer, bringing static typing and powerful tools to JavaScript’s flexibility. Decorators in TypeScript stand out as a powerful feature, enabling developers to write cleaner, more maintainable, and error-free code. This article aims to provide a deep dive into TypeScript decorators, […]

Posted in Typescript also tagged core ts

What is Event Emitter in Node.js?

Node.js is celebrated for its non-blocking, event-driven architecture. A core component that embodies this philosophy is the Event Emitter. Let’s venture into understanding its significance, usage, and best practices. What is Event Emitter? The Event Emitter is a module in Node.js that facilitates the management of events and listeners. It allows objects to emit named […]

Posted in NodeJS also tagged async core fundamental