Skip to content

Commit

Permalink
Merge branch 'canary' into update-with-supabase-example
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Jun 29, 2023
2 parents 2f0bfb8 + 3dcaf92 commit 0fb335c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Expand Up @@ -5,6 +5,8 @@ description: The complete Next.js runtime is now Strict Mode-compliant, learn ho

{/* The content of this doc is shared between the app and pages router. You can use the `<PagesOnly>Content</PagesOnly>` component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */}

> **Good to know**: Since Next.js 13.4, Strict Mode is `true` by default with `app` router, so the above configuration is only necessary for `pages`. You can still disable Strict Mode by setting `reactStrictMode: false`.
> **Suggested**: We strongly suggest you enable Strict Mode in your Next.js application to better prepare your application for the future of React.
React's [Strict Mode](https://react.dev/reference/react/StrictMode) is a development mode only feature for highlighting potential problems in an application. It helps to identify unsafe lifecycles, legacy API usage, and a number of other features.
Expand Down
3 changes: 0 additions & 3 deletions packages/next/src/server/config.ts
Expand Up @@ -693,9 +693,6 @@ function assignDefaults(
'@mui/icons-material': {
transform: '@mui/icons-material/{{member}}',
},
'@mui/material': {
transform: '@mui/material/{{member}}',
},
'date-fns': {
transform: 'date-fns/{{member}}',
},
Expand Down

0 comments on commit 0fb335c

Please sign in to comment.