next config runs multiple times
Answered
Nelson posted this in #help-forum
Answered by not-milo.tsx
Does it happen in production too? As to why it does that I'm not sure and the only thing I could find about it was this four-year old issue: https://github.com/vercel/next.js/discussions/11863
2 Replies
Does it happen in production too? As to why it does that I'm not sure and the only thing I could find about it was this four-year old issue: https://github.com/vercel/next.js/discussions/11863
Answer
NelsonOP
Thanks for your response.
Yes. It happens in production too. I can fix it by detecting whether it's initialized in my function.
Yes. It happens in production too. I can fix it by detecting whether it's initialized in my function.