Skip to content

Commit

Permalink
Merge pull request #374 from joohaem/main
Browse files Browse the repository at this point in the history
02-app > 02-api-reference > 05-next-config-js > reactStrictMode.mdx
  • Loading branch information
chaejunlee authored Jul 20, 2023
2 parents 4a7c089 + a224908 commit 3f58bf5
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
---
title: reactStrictMode
description: The complete Next.js runtime is now Strict Mode-compliant, learn how to opt-in
description: 완전한 Next.js 런타임은 이제 Strict Mode를 준수합니다. 옵트인(opt-in) 설정 방법에 대해 배웁니다.
---

> **Suggested**: We strongly suggest you enable Strict Mode in your Next.js application to better prepare your application for the future of React.
> **제안**: 향후 React에 대비할 수 있도록 Next.js 애플리케이션에서 Strict Mode를 활성화하는 것이 좋습니다.
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.
React의 [Strict Mode](https://react.dev/reference/react/StrictMode)는 잠재적인 문제를 나타내기 위한 개발 모드 전용 기능입니다. 이는 안전하지 않은 라이프사이클, 레거시 API 사용 및 여러 기능을 식별하는 데에 도움을 줍니다.

The Next.js runtime is Strict Mode-compliant. To opt-in to Strict Mode, configure the following option in your `next.config.js`:
Next.js 런타임은 Strict Mode를 준수합니다. Strict Mode 옵트인(opt-in)을 위해 `next.config.js`에서 다음과 같이 설정합니다.

```js filename="next.config.js"
module.exports = {
reactStrictMode: true,
}
```

If you or your team are not ready to use Strict Mode in your entire application, that's OK! You can incrementally migrate on a page-by-page basis using `<React.StrictMode>`.
개인이나 팀이 전체 애플리케이션에 Strict Mode를 사용할 준비가 안 되었어도 괜찮습니다! `<React.StrictMode>`를 사용하여 페이지 단위로 점진적 마이그레이션이 가능합니다.

0 comments on commit 3f58bf5

Please sign in to comment.