Company
Date Published
Author
Luis Neves
Word count
1638
Language
English
Hacker News points
4

Summary

We moved away from Next.js 11 months ago and haven't looked back since. The reasons for this were that we found the framework's static rendering feature to be overly complex, making it difficult to integrate custom webpack configurations and extensions. Additionally, Next.js' dynamic routing limitations and performance issues during local development made it unsuitable for our application's needs. We experienced severe performance issues with the local development web server, which was a major pain point. To overcome these challenges, we adopted a client-side routing library (react-router 6) and wrote our own custom webpack configuration. The migration allowed us to simplify our codebase, improve local development speed, and open up new possibilities for complex routing refactors. We've found that maintaining our own solution has given us the freedom to move faster and tackle more complex problems.