#My NextJS is super slow in dev mod ( a little less with turbo but some bugs pop up )

6 messages · Page 1 of 1 (latest)

shell igloo
#

Hello !

I've been doing next for a while, I'm still learning a lot of things and I'm currently working on a big personal project, much bigger than the simple things I've been doing in next until now, and I realize that the transition between pages is quite long ( when they haven't been hidden yet ). If I f5 the page, the page no longer responds.

It's likely that this is due to a poor construction of my app, but if not, does this tell you anything about a super-slow nextjs dev mod on rather large projects?

If you have any tips for optimizing next I'd love to hear from you!

my front-end stack :

Next,
Shadcn,
Talwind,
TanstackQuery.

Thanks in advance!

wild oreBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

dim path
shell igloo
#

Good evening @dim path I don't use svg ( I use the lucid icon lib, maybe it injects some ) I'm wondering, when I go from one page to the next the compilation is super long, could it be possible that the import of dependencies for the page is the cause of this slowdown, I export my components / utility functions / hooks etc.. with index.ts so as not to have tens and tens of lines of import in my components.

dim path
shell igloo