π How Video Streaming Works (From FPS to Adaptive Bitrate)π§ The Basic Idea A video is nothing but a sequence of images (frames) played rapidly in succession. 30 FPS β 30 images per second 60 FPS β 60 images per second π More frames = smoother motion. HApr 5, 2026Β·4 min read
Understanding the @property Variable in CSSWe all know about variables in CSS, which are similar to JavaScript variables in that they store values. However, do you know the downside of CSS variables? Itβs the inheritance nature of CSS variables. While inheritance has its advantages, it also c...Sep 4, 2024Β·4 min read
Mutation observer in vanilla JSIntroduction to Mutation Observer in JavaScript Mutation Observer is a powerful API in JavaScript that simplifies the process of observing mutations in the DOM tree and notifying developers about the changes. In the past, developers had to rely on va...Apr 4, 2024Β·3 min read
Angular's DirectiveUnderstanding Angular Directives In Angular, directives are essential tools for adding extra functionality to elements. They are implemented using the @Directive decorator. For instance, Angular provides built-in directives like ngIf for conditionall...Mar 19, 2024Β·2 min read
Building our own custom useReducer HookuseReducer is a local state management hook just like useState to store and update the state of a component. useReducer will take a reducer function and initial state as its two parameters. Let's learn how to build our custom useReducer hook. I will ...Apr 6, 2023Β·2 min read
this keyword in JavascriptThis keyword in javascript is used to refer to objects. This keyword points to a different object depending on how it is used. For a regular function, the pointing of this keyword depends on how and where the function is being called. For the arrow f...Feb 8, 2023Β·4 min read
Promise in JavaScriptA promise in JavaScript works as same as a promise in a real-life, where a promise is either fulfilled(resolved) or incomplete(rejected). Since javascript is a single-threaded synchronous language the use of promise makes it perform an a-synchronous ...Jul 25, 2022Β·2 min read