2024-01-30
3403
#nextjs
Abhinav Anshul
168468
109
Jan 30, 2024 â‹… 12 min read

How to structure scalable Next.js project architecture

Abhinav Anshul Doing interesting things on the Web.

Recent posts:

typescript object destructuring

TypeScript object destructuring and you

Whether you’re part of the typed club or not, one function within TypeScript that can make life a lot easier is object destructuring.

Lewis Cianci
Jan 22, 2025 â‹… 5 min read
master state management hydration Nuxt usestate

Nuxt state management and hydration with useState

useState can effectively replace ref in many scenarios and prevent Nuxt hydration mismatches that can lead to unexpected behavior and errors.

Yan Sun
Jan 20, 2025 â‹… 8 min read
React Native List Components: FlashList, FlatList, And More

React Native list components: FlashList, FlatList, and more

Explore the evolution of list components in React Native, from `ScrollView`, `FlatList`, `SectionList`, to the recent `FlashList`.

Chimezie Innocent
Jan 16, 2025 â‹… 4 min read
Building An AI Agent For Your Frontend Project

Building an AI agent for your frontend project

Explore the benefits of building your own AI agent from scratch using Langbase, BaseUI, and Open AI, in a demo Next.js project.

Ivaylo Gerchev
Jan 15, 2025 â‹… 12 min read
View all posts

3 Replies to "How to structure scalable Next.js project architecture"

  1. It’s all good stuff, but regarding the file structure and architecture it works until components become a big disorganized lump of everything.

    For medium to large projects, I highly recommend Feature-Sliced design: https://feature-sliced.design/

    Started using it a few months ago and it feels so much better to work with than just components, lib or hooks folders.

  2. Wow, I literally read through the whole thing, nodding along, because (except I use Cypress) we’re on the same page on everything (also node 20 by now) but got to the “integrate LogRocket” expecting the perfect integration guidance and the article just waved good-bye, jumped in an escape pod, and left me watching a 10 second ad as the pod jettisoned itself and sped away.

Leave a Reply