r/nextjs • • 19h ago

Weekly Showoff Weekly Showoff Thread! Share what you've created with Next.js or for the community in this thread only!

2 Upvotes

Whether you've completed a small side project, launched a major application or built something else for the community. Share it here with us.


r/nextjs • • 4h ago

Domain driven design

1 Upvotes

Hi all!

I'm building an app with next.js and payload.

This application is growing and I would go for DDD.

Any suggestions on project structure?

I'm eager to read any wise advice.


r/nextjs • • 2h ago

What's your approach to optimizing performance in production Next.js applications?

0 Upvotes

I've been exploring different performance optimization techniques in Next.js, and one thing I've noticed is that improving performance often requires looking beyond the framework itself.

Some areas I've been paying attention to:

  • Server Components vs Client Components
  • Image optimization with next/image
  • Dynamic imports and code splitting
  • Caching and data revalidation
  • Reducing unnecessary client-side JavaScript
  • Database query performance
  • Third-party scripts and analytics

One thing I'm particularly interested in is how developers balance caching, dynamic content, and user-specific data.

A few questions:

  1. What's usually your biggest performance bottleneck in production Next.js applications?
  2. How do you decide when to use Server Components versus Client Components?
  3. Do you rely on Next.js caching features or implement an external caching layer?
  4. What tools do you use to monitor real-world performance?

Interested in hearing about practical experiences rather than just Lighthouse scores.

Website: https://devpatternlabs.com/