Cathal Mac Donnacha
banner
cathalmacdonnacha.com
Cathal Mac Donnacha
@cathalmacdonnacha.com
Principal Frontend Engineer @wpengine.

Follow along for frontend tips on React ⚛️ Testing 🧪 UI/UX 🖥.

My blog ✍️ http://cathalmacdonnacha.com
I guess ChatGPT is training itself on my blog now 😂

#blogging #chatgpt #software
July 17, 2025 at 3:49 PM
TIL: Chrome Dev Tools has an accessibility view ♿️

#frontend #chrome #webdev
June 18, 2025 at 9:15 AM
❌ Avoid storing derived state like totals, filters, or counts in useState.

✅ Calculate derived values directly in render from the existing state or props.

Simple, clean, and avoids bugs caused by syncing issues!

Learn more here: react.dev/learn/you-mi...
December 28, 2024 at 10:15 AM
How am I just now discovering "Design Mode" in Chrome DevTools? ⭐️ 💻

#ChromDevTools #frontend #webdev
December 3, 2024 at 10:06 PM
Just updated all of my articles 🦋 😀
November 27, 2024 at 11:16 AM
🚀 Run this command if you ever want to delete all local git branches except for "main".

#git #development #software #programming
November 15, 2024 at 10:49 PM
🚀 Debugging tip

I used to always give a label to the value I printed out in a console.log. However, a faster and cleaner way is to just print it as an object.

(yes I still like to use console.log sometimes over the debugger)
#javascript #frontend #webdevelopment
November 14, 2024 at 9:59 PM