I have React.StrictMode set to true next.config.mjs of Next.js I am using for React project. Do I still wrap with <React.StrictMode> in the layout.tsx ?
Do both serve the same purpose?
I have page.tsx and layout.tsx in the Next.js project.
I have React.StrictMode set to true next.config.mjs of Next.js I am using for React project. Do I still wrap with <React.StrictMode> in the layout.tsx ?
Do both serve the same purpose?
I have page.tsx and layout.tsx in the Next.js project.
Filed under: Kiến thức lập trình - @ 16:43