My Blogs

Thoughts, tutorials, and lessons learned during my web development journey. Each post is crafted with care to share insights and experiences that may help fellow developers.

Building a Reusable Form System with React Hook Form + Zod and TypeScript
Frontend Development
09-20-2025 8 min

Building a Reusable Form System with React Hook Form + Zod and TypeScript

Learn to create a powerful, type-safe form system using React Hook Form, Zod validation, and TypeScript. Build reusable components that handle validation, errors, and submissions elegantly.

ReactTypeScriptReact Hook FormZodFormsValidationBest Practices
Naim Hasan

Naim Hasan

MERN Stack Developer

Building Reusable React Components with cn() and Class Variance Authority
Frontend Development
09-20-2025 5 min

Building Reusable React Components with cn() and Class Variance Authority

Learn how to create scalable, type-safe React components using the cn utility function and Class Variance Authority (CVA) for better component architecture and styling consistency.

ReactTypeScriptCVATailwind CSSComponent LibraryBest Practices
Naim Hasan

Naim Hasan

MERN Stack Developer

Building a Dynamic Dark/Light Theme System with React Context API and Tailwind CSS
Frontend Development
09-20-2025 6 min

Building a Dynamic Dark/Light Theme System with React Context API and Tailwind CSS

Learn how to implement a flexible theme system in React using Context API and Tailwind CSS. Build a scalable solution that supports multiple themes with seamless switching.

ReactContext APITailwind CSSDark ModeTheme SystemCSS Variables
Naim Hasan

Naim Hasan

MERN Stack Developer

Mastering Custom React Hooks: Building Reusable Logic with TypeScript
Frontend Development
09-20-2025 9 min

Mastering Custom React Hooks: Building Reusable Logic with TypeScript

Learn to create powerful custom React hooks that encapsulate complex logic, improve code reusability, and provide excellent developer experience with TypeScript integration.

ReactCustom HooksTypeScriptState ManagementReusabilityBest Practices
Naim Hasan

Naim Hasan

MERN Stack Developer

Advanced Express.js Folder Structure: MVC vs Feature-Based Architecture with MongoDB
Backend Development
09-20-2025 6 min

Advanced Express.js Folder Structure: MVC vs Feature-Based Architecture with MongoDB

Learn how to structure large Express.js applications using MVC and feature-based architectures. Compare approaches and implement scalable patterns with MongoDB integration.

Express.jsNode.jsMongoDBMVCArchitectureBackendBest Practices
Naim Hasan

Naim Hasan

MERN Stack Developer

grid-bg

Ready to bring to fresh ideas and modern solutions your next project?

I'm passionate about creating exceptional web experiences using React, Next.js, and the MERN stack. Let's discuss how I can contribute to your team's success.

2025 Nayim Hasan

github logogithub logo