Tech Blog
My personal Build vs Buy strategy
Explore a comprehensive guide to making informed software decisions. Learn the pros and cons of buying vs building solutions, cost considerations, and alternative mental models. Perfect for individuals and small businesses navigating software choices.
Sep 16, 2024
SaaS
Software Development
Thought Experiments
Tech
Creator Economy
Incremental Code Coverage checks with Jest
This article explores the importance of incremental code coverage checks using Jest and provides a step-by-step guide on how to run coverage reports for only the newly made changes in your codebase. With code snippets and examples, the article also explains how to define coverage thresholds and fail tests if the coverage falls below the specified threshold. By following these best practices, you can improve the quality and reliability of your code, speed up your test runs, and ensure that your code meets the same quality standards across your entire codebase.
Apr 8, 2023
Node.js
Web Dev
Tech
Software Development
React.js
Jest
Promises with postMessage API
Learn how to communicate between an iFrame and its parent window using postMessage API in JavaScript. This article provides examples of sending and receiving messages via Promises between an iFrame and its parent window, along code snippets used.
Feb 26, 2023
Web Dev
Tech
App Dev
Software Development