
I've been building apps with Next.js for months now. Its built-in routing, SEO support, and other benefits made it a no-brainer over plain React wh...
For further actions, you may consider blocking this person and/or reporting abuse
I don't think offloading your Next.js API routes to some service is the solution. What if Next.js had a mode where you select the sort of task you are doing and it only compiles for such task. Like if you were building with API routes, it compiles without considering API routes.
That’s an interesting thought! If Next.js had a mode that allowed developers to select the specific task they're working on (e.g., frontend-only, API routes, SSR, etc.), it could definitely improve development speed.
Next.js starts to kill my laptop. When you noticed even when building a simple landing page, it would take more than 1.2GB of your memory in local development. And experiences a lot of this before. My laptop starts heating up and lagging.
Then I found React Router v7 (Framework mode) (Remix). This is not that full package of Next.js, but it does the job. Also, it's using Vite behind it.
Anyway, I use an MBA 2020 M1 with 8 GB of memory.
Interesting, I'll definitely look into that
Basically summarising everything, NextJS is good for building websites but has a very bad developer experience.
Thanks for sharing this with us, Chris 😊
Exactly!
Your'e welcome Vic
Love this❤️❤️❤️
Thank you!!
I just remembered our call days ago when nextjs was dealing with me. Thanks for this information
Yeah, our call kind of inspired this post tbh
Try React Router V7 guys, but in my opinion the RRv7 docs so horrible
Making use of server actions to reduce server side logic also help improve performance in Next.js.
Especially if its a sort of large production codebase, I use this currently