kamesh.work

#Snippet

1 min read

Just One Smart Move

Persistence, coupled with a strategic and thoughtful mindset, can turn dead ends into breakthroughs.

2 min read

Boosting Website Responsiveness `with window.matchMedia`

Responsive web design is about ensuring your website looks and works well on different devices. It's essential for today's web. Traditionally, developers used the window width (window.innerWidth) to make sites responsive, but there's a better way: window.matchMedia. Let's see why.

2 min read

Detecting & Adapting to Device Types with Custom Hooks

In this blog post, we'll explore a custom React hook that allows you to detect the device type and adapt your UI based on the screen width.