Web developer. Startup enthusiast. Coffee lover.

And how to test them instead

Photo by Marten Newhall on Unsplash
Photo by Marten Newhall on Unsplash

Testing Library is a popular library facilitating frontend component testing through different utilities. And if you’re familiar with it, you’re also familiar with getByTestId— a pretty convenient way to target elements within the DOM to assert their existence. When I first learnt about testing React components, getByTestId was my go-to…

How to direct your focus and energy towards things that really matter.

Photo by Artem Maltsev on Unsplash

Our time and energy are precious, yet we often struggle to use them appropriately to avoid delaying certain responsibilities until they can no longer be delayed. Learning how to manage our attention effectively, and direct our energy on the things that matter the most, is key to ensuring productivity and…

2. Breadcrumbs

Image of laptop and plant
Photo by Kevin Bhagat on Unsplash

1. Add a Splash of Colour To Your Title Bars

VS Code allows its users to customise their environment as they please, but one customisation I like in particular is the ability to change the title bar’s background colour.

After hours of development, something eyecatching to easily differentiate between codebases is very much welcomed. …

The core principles of virtual scrolling explained, plus a tutorial using react-window.

Photo by Miguel Á. Padriñán from Pexels

Ever had to deal with a large dataset within your web application? Let’s say a call to your API returns thousands of items. You now want to render a scrollable list without pagination displaying each of those items. Rendering that many items would pollute the DOM and consume too much…

And at the touch of your fingertips!

Photo by Michael Dziedzic on Unsplash

The Massachusetts Institute of Technology (MIT) has recently released information about a potential game-changer in screening for COVID-19 asymptomatic patients.

So far during this pandemic, scientists have identified that there are individuals who show symptoms, and those who are infected but show no symptoms at all. …

Natalie Mclaren

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store