[slow-development] very weird and frustrating development experience with lots of time wasted in compiling and rendering... #88766
Unanswered
nishatislam04
asked this question in
Help
Replies: 1 comment 5 replies
-
|
Fix it in a way that proves what’s wrong
In
const isDev = process.env.NODE_ENV === "development";
const nextConfig = {
cacheComponents: !isDev ? true : false,
reactCompiler: !isDev ? true : false,
turbopack: !isDev ? { /* your rules */ } : undefined,
};
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions