---
title: "Mir N. Ali (@codetiger) | Hashnode"
description: "Mir N. Ali (@codetiger) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@codetiger"
---

@codetiger

# Mir N. Ali

@codetiger · Princeton, NJ · Joined June 2023

### [react nextjs isMobile on statically generated pages](https://codetiger.hashnode.dev/react-nextjs-ismobile-on-statically-generated-pages?utm_source=hashnode&utm_medium=feed)

most solutions you'll find for determining whether a user is viewing your web app on mobile will not work on statically generated pages this is the cleanest solution i could come up with const \[isMobile, setIsMobile\] = React.useState<number>(false); ...

1 min read · [codetiger.hashnode.dev](https://codetiger.hashnode.dev/react-nextjs-ismobile-on-statically-generated-pages?utm_source=hashnode&utm_medium=feed)

[Jun 30, 2023](https://hashnode.com/posts/react-nextjs-ismobile-on-statically-generated-pages/649e29b6b429d991246cde17)

### [nextjs images - fill parent container while preserving original aspect ratio](https://codetiger.hashnode.dev/nextjs-images-fill-parent-container-while-preserving-original-aspect-ratio?utm_source=hashnode&utm_medium=feed)

using typescript and styled components

2 min read · [codetiger.hashnode.dev](https://codetiger.hashnode.dev/nextjs-images-fill-parent-container-while-preserving-original-aspect-ratio?utm_source=hashnode&utm_medium=feed)

[Jun 27, 2023](https://hashnode.com/posts/nextjs-images-fill-parent-container-while-preserving-original-aspect-ratio/649b4a9f7f2fe860fa1c0c1e)
