The 2-day rule to getting anything doneA philosopher once said we are what we repeatedly do, excellence then is not an act, it is a habit. James Clear in Atomic Habit said that success is not found in setting goals but in creating effective systems you build around your goal. Effective s...Jul 23, 2024·5 min read·52
Optimize Web Performance by Serving Images in WebP FormatWebP images are Google's alternative to PNG, jpeg, and jpg; providing smaller sized images - typically resulting in a 25% - 50% reduction in filesize. This significantly decreases page sizes and improves your website performance. YouTube found that...Jul 15, 2024·3 min read·80
Data Storage on the client side: local storage and session storageFirst, questions - why do local storage and session storage exist? What problem do they aim to solve? Imagine you're browsing an online shopping website like Amazon for example, and you have put some items in your shopping cart. As you surf around, y...Oct 4, 2023·5 min read·48
UI Testing: Unit vs Component testWhen it comes to testing your frontend applications; there are many testing methodologies: unit testing, component testing, integration and end-to-end test. This article focuses on unit and component testing as they are commonly used interchangeably ...Feb 1, 2023·3 min read·457
PUT, POST and PATCHThis article assumes that you have a basic understanding of REST API and HTTP verbs - GET, PUT, POST, PATCH, DELETE etc This article aims to explain the difference between the most used verbs for making changes to a resource and is not intended ...Jan 12, 2023·2 min read·113
Send data from your react application to the backend using FETCHOne of the perks of building a react application includes the ability to scale it up, and make it a full-fledged application that interacts with another program using an API. So you've built a functional react application, and now comes the time fo...Jan 11, 2023·3 min read·211