Disable react strict mode in custom servers
Unanswered
European hornet posted this in #help-forum
European hornetOP
Im trying to disable the strict mode behaviour, but after search i couldnt find the way
anyone know if im doing something wrong ?
const nextApp = next({
dev: process.env.NODE_ENV !== 'production',
port: settings.ssr.port,
dir: './src/services/ssrv2/root',
// customServer: true,
conf: {
reactStrictMode: false
}
});anyone know if im doing something wrong ?
1 Reply
European hornetOP
up, this happens with the normal dev server as well and the config is in next.config.js