Core Web Vitals: Interaction to Next Paint (INP)
Have you ever clicked on a button or typed something on a website and waited for a long time before anything happened? If so, you have experienced a poor user experience due to low responsiveness. Responsiveness is how quickly a website responds to user input, such as clicks, taps, scrolls, and keystrokes. A responsive website should provide immediate feedback to the user and avoid delays or freezes.
TypeScript Tips: Getting Component Props Types in React
These days, React and Typescript are the perfect combo for building front-end applications. If you're from the front-end world, you may already know that. This post is about a Typescript tip that will be useful in React applications.
If you use React, you would've already created a higher order component (HoC). Sometimes, you need to create an HoC that returns another UI component, with some of the props pre-populated. Example, an IconButton component that returns a UI Button with an Icon.
Fix: The flow server is not responding
Recently, I was setting up
flow for one of my project. Everything was running normally, but after sometime, there was this error on the screen:
Improve Website Speed with Link Preload
In recent years, Web peformance optimizations became a mandatory skill for every front end developers. Web performance can be classified into two: page load performance and runtime performance. Here in this post, we'll see how to improve the page load performance using link preloading
Debugging React Native Apps using Visual Studio Code
I always think that I am a Magpie developer. I don't know if others do this often; But, most of the times, I switch between my IDEs, trying out new frameworks ( even though it doesn't solve most of my problems ).
React Redux Part 1 : Implementing a counter component in react by using state
The frontend world is moving so fast these days. The hottest trend is React along with the Flux pattern. Flux is a architectural pattern introduced by Facebook to solve some of the problems in large data centric applications. Facebook introduced flux as a concept, but there're number of flux libraries born from then. Today we're gonna talk about the most popular library in that category named Redux.
iTerm tips and zsh plugins for better development environment
React TDD Example: Unit Testing and Building a React Component with Jest, Gulp and React Test Utils
Repeating Multiple Elements using ng-repeat-start and ng-repeat-end in AngularJS
TDD stands for Test Driven Development. To those who don't know what TDD means: In a typical TDD Environment, a developer start with a basic test case describing the minimal requirement for implementing the module. Then he writes the actual implementation code for making the test case pass.
Remote debugging localhost with weinre ( and HTTPS too )
A brief walk-through of the ng-options in AngularJS
Practical Guide to PreLink, PostLink and Controller Methods of Angular Directives
I have discussed about the scope of a directive in my previous article. Here we're going to see how to use the link and controller functions of an AngularJs directive.
AngularJS: Real time model persistence using local storage
Last week, I came across a situation while working on a simple AngularJS application. I'd to sync the data between multiple open tabs. As you guess, the easy way to sync data between multiple tabs is through local storage. Ofcourse there are better ways of doing this using websockets; but here I am going to explain the client-side way –– using local storage and real time updating other tabs.
'Resolve' in AngularJS routes, explained as story
I feel AngularJS documentation is baffling sometimes. Reason may be, I'm going through the same learning curve described by @bennadel. Through this article, I'm primarily aiming to help those who got stuck at some point of the curve. Don't take it too seriously; I'm just sharing some of my experiences with AngularJS.
Mastering the scope of the directives in AngularJS
Octopress Blog Tweaks: Adding Author Info Section Below Each Posts
A good blogging platform is one which allows easy customization. I've been using Octopress for more than 2 weeks and happy to tell that it's one of those allows customization with out any pain. I want to share a tweak I added to my blog recently : It's an author information section below every post. Let's see how I built it and added to my blog.
Starting my new blog: Finally Octopress
I wanted to start writing blog ever since I started coding. I never had a success setting it up because of time constraints and many other reasons. During this time, I've evaluated a number of blogging platforms and eventually I thought of using wordpress as my blogging platform when I start my blog.