Fixing Slow & Flaky Frontend TestsAfter noticing a spike in failing Jest builds, I decided to investigate and found that slow and flaky tests were the main culprits. In this article, I go through some tips I discovered for making slow or flaky tests faster and more reliable. There ar...10 min read路cathalmacdonnacha.comSep 8, 2025
Route-based code splitting with ReactCode splitting is a technique used to optimize the loading performance of web apps by breaking down the bundled JavaScript files into smaller, more manageable chunks. By loading only the required code for a specific route or page, route-based code sp...4 min read路cathalmacdonnacha.comAug 4, 2023
Mocking Error, Empty and Loading states with MSWOne of the less exciting things about being a Frontend Developer is having to handle error, empty and loading states. It may not be the most fun thing to do, but it's necessary in order to give your users the best experience possible. Thankfully, Moc...7 min read路cathalmacdonnacha.comDec 6, 2022
Migrating from Create React App (CRA) to ViteLearn how to migrate your CRA app over to Vite.7 min read路cathalmacdonnacha.com20SF膼Aug 22, 2022
Setting up ESLint & Prettier in ViteJSLearn how to set up ESLint & Prettier in your ViteJS project.4 min read路cathalmacdonnacha.com5TMJAug 11, 2022