
While writing tests for my Next.js app using Vitest and React Testing Library, I ran into an annoying error that looked like this: TypeError: window.matchMedia is not a function ❯ hooks/use-mobile.ts:12:24 The error was pointing to this line inside...
Front End Developer
I am AbdQaadir by name. A Nigeria based Front End Developer. I'm interested in Software Engineering and Cyber Security.
Markdown supported · ⌘↵ to post
No responses yet.