Skip to content

Commit 27f5904

Browse files
committed
chore: update .editorconfig to trim trailing whitespace and clean up various
markdown files `.editorconfig`에 `trim_trailing_whitespace = true` 옵션 추가 및 검사에 걸리는 파트 일괄 수정.
1 parent 13c79f8 commit 27f5904

File tree

90 files changed

+607
-606
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+607
-606
lines changed

.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ charset = utf-8
55
end_of_line = lf
66
insert_final_newline = true
77
indent_style = space
8+
trim_trailing_whitespace = true

.github/ISSUE_TEMPLATE/3-framework.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
name: "📄 Suggest new framework"
2-
description: "I am a framework author applying to be included as a recommended framework."
3-
title: "[Framework]: "
4-
labels: ["type: framework"]
1+
name: '📄 Suggest new framework'
2+
description: 'I am a framework author applying to be included as a recommended framework.'
3+
title: '[Framework]: '
4+
labels: ['type: framework']
55
body:
66
- type: markdown
77
attributes:
88
value: |
99
## Apply to be included as a recommended React framework
1010
1111
_This form is for framework authors to apply to be included as a recommended [React framework](https://react.dev/learn/start-a-new-react-project). If you are not a framework author, please contact the authors before submitting._
12-
12+
1313
Our goal when recommending a framework is to start developers with a React project that solves common problems like code splitting, data fetching, routing, and HTML generation without any extra work later. We believe this will allow users to get started quickly with React, and scale their app to production.
14-
14+
1515
While we understand that many frameworks may want to be featured, this page is not a place to advertise every possible React framework or all frameworks that you can add React to. There are many great frameworks that offer support for React that are not listed in our guides. The frameworks we recommend have invested significantly in the React ecosystem, and collaborated with the React team to be compatible with our [full-stack React architecture vision](https://react.dev/learn/start-a-new-react-project#which-features-make-up-the-react-teams-full-stack-architecture-vision).
16-
16+
1717
To be included, frameworks must meet the following criteria:
18-
18+
1919
- **Free & open-source**: must be open source and free to use.
2020
- **Well maintained**. must be actively maintained, providing bug fixes and improvements.
2121
- **Active community**: must have a sufficiently large and active community to support users.
@@ -25,7 +25,7 @@ body:
2525
- **Developer experience**. must allow developers to be productive by supporting features like Fast Refresh.
2626
- **User experience**. must provide built-in support for common problems like routing and data-fetching.
2727
- **Compatible with our future vision for React**. React evolves over time, and frameworks that do not align with React’s direction risk isolating their users from the main React ecosystem over time. To be included on this page we must feel confident that the framework is setting its users up for success with React over time.
28-
28+
2929
Please note, we have reviewed most of the popular frameworks available today, so it is unlikely we have not considered your framework already. But if you think we missed something, please complete the application below.
3030
- type: input
3131
attributes:

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
PR을 보내주셔서 감사합니다! 여러분과 같은 기여자들이 React를 더욱 멋지게 만듭니다!
3-
3+
44
기존 이슈와 관련된 PR이라면, 아래에 이슈 번호를 추가해주세요.
55
-->
66

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class MyComponent extends React.Component {
8989
```
9090
````
9191

92-
간혹 숫자와 함께 사용되는 블록이 있습니다.
92+
간혹 숫자와 함께 사용되는 블록이 있습니다.
9393
이는 특정 줄을 강조하기 위한 용도입니다.
9494

9595
한 줄을 강조하는 예시.

src/content/blog/2020/12/21/data-fetching-with-react-server-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ React 서버 컴포넌트를 소개하기 위해 강연과 데모를 준비했
2929

3030
2. **[데모를 클론](http://github.com/reactjs/server-components-demo)** 하여 컴퓨터에서 React 서버 컴포넌트를 사용해 보세요.
3131

32-
3. 자세한 기술 분석과 피드백을 제공하려면 **[RFC 확인하기(FAQ가 마지막에 포함되어 있습니다)](https://github.com/reactjs/rfcs/pull/188)** 를 참조하세요.
32+
3. 자세한 기술 분석과 피드백을 제공하려면 **[RFC 확인하기(FAQ가 마지막에 포함되어 있습니다)](https://github.com/reactjs/rfcs/pull/188)** 를 참조하세요.
3333

3434
RFC 또는 [@reactjs](https://twitter.com/reactjs) 트위터 계정에서 여러분의 의견을 기다리겠습니다. 즐거운 연말연시 안전하게 보내시고 내년에 뵙겠습니다!

src/content/blog/2022/03/29/react-v18.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ description: React 18 is now available on npm! In our last post, we shared step-
1717

1818
---
1919

20-
최신 메이저 버전에는 자동 batching, startTransition과 같은 새로운 API, Suspense를 지원하는 스트리밍 서버 사이드 렌더링과 같은 즉각적인 개선 사항이 포함되어 있습니다.
20+
최신 메이저 버전에는 자동 batching, startTransition과 같은 새로운 API, Suspense를 지원하는 스트리밍 서버 사이드 렌더링과 같은 즉각적인 개선 사항이 포함되어 있습니다.
2121

2222
React 18의 많은 기능은 강력한 새 기능들을 제공하는 배후의 변경 사항인 concurrent 렌더러를 기반으로 구축되었습니다. concurrent 렌더러는 선택 사항으로, concurrent 기능을 사용할 때만 활성화할 수 있지만 사람들이 애플리케이션을 빌드하는 방식에 큰 영향을 미칠 것으로 예상됩니다.
2323

src/content/blog/2023/03/16/introducing-react-dev.md

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -240,12 +240,12 @@ body {
240240

241241
이것이 학습 섹션이 여러 개의 장으로 구분된 자기 주도 학습 과정으로 구성된 이유입니다. 처음 두 장은 React의 기초에 관해서 설명합니다. React가 처음이거나 기억을 되살리고 싶다면, 여기서부터 시작하세요.
242242

243-
- **[UI 표현하기](/learn/describing-the-ui)**에서는 컴포넌트로 어떻게 정보를 표시하는지 가르칩니다.
244-
- **[상호작용 추가하기](/learn/adding-interactivity)**에서는 사용자 입력에 대한 응답으로 화면을 어떻게 업데이트하는지 가르칩니다.
243+
- **[UI 표현하기](/learn/describing-the-ui)**에서는 컴포넌트로 어떻게 정보를 표시하는지 가르칩니다.
244+
- **[상호작용 추가하기](/learn/adding-interactivity)**에서는 사용자 입력에 대한 응답으로 화면을 어떻게 업데이트하는지 가르칩니다.
245245

246-
다음 두 장은 더욱 고급 내용을 다루며, 더 복잡한 부분에 대해서 깊은 통찰을 줄 것입니다.
246+
다음 두 장은 더욱 고급 내용을 다루며, 더 복잡한 부분에 대해서 깊은 통찰을 줄 것입니다.
247247

248-
- **[State 관리하기](/learn/managing-state)**에서는 앱의 복잡성이 증가함에 따라 어떻게 로직을 조직화하는지 가르칩니다.
248+
- **[State 관리하기](/learn/managing-state)**에서는 앱의 복잡성이 증가함에 따라 어떻게 로직을 조직화하는지 가르칩니다.
249249
- **[탈출구](/learn/escape-hatches)**에서는 React "외부로 탈출"할 방법과, 이를 수행하기에 가장 적절한 시기를 가르칩니다.
250250

251251
모든 장은 여러 개의 관련된 페이지로 구성되어 있습니다. 대부분의 페이지는 특정 기술이나 기법을 가르칩니다-예를 들어, [JSX로 마크업 작성하기](/learn/writing-markup-with-jsx), [State에 있는 객체 업데이트하기](/learn/updating-objects-in-state)[컴포넌트 간 State 공유하기](/learn/sharing-state-between-components) 같은 것들이 있습니다. [렌더와 커밋](/learn/render-and-commit), [스냅샷으로서의 State](/learn/state-as-a-snapshot)와 같은 몇몇 페이지들은 아이디어를 설명하는 것에 집중합니다. 그리고 지난 몇 년 동안의 경험을 기반으로 제안을 공유하는 [Effect가 필요하지 않을 수 있습니다](/learn/you-might-not-need-an-effect) 같은 페이지도 몇 개 있습니다.
@@ -280,17 +280,17 @@ export default function PackingList() {
280280
<section>
281281
<h1>Sally Ride's Packing List</h1>
282282
<ul>
283-
<Item
284-
isPacked={true}
285-
name="Space suit"
283+
<Item
284+
isPacked={true}
285+
name="Space suit"
286286
/>
287-
<Item
288-
isPacked={true}
289-
name="Helmet with a golden leaf"
287+
<Item
288+
isPacked={true}
289+
name="Helmet with a golden leaf"
290290
/>
291-
<Item
292-
isPacked={false}
293-
name="Photo of Tam"
291+
<Item
292+
isPacked={false}
293+
name="Photo of Tam"
294294
/>
295295
</ul>
296296
</section>
@@ -318,17 +318,17 @@ export default function PackingList() {
318318
<section>
319319
<h1>Sally Ride's Packing List</h1>
320320
<ul>
321-
<Item
322-
isPacked={true}
323-
name="Space suit"
321+
<Item
322+
isPacked={true}
323+
name="Space suit"
324324
/>
325-
<Item
326-
isPacked={true}
327-
name="Helmet with a golden leaf"
325+
<Item
326+
isPacked={true}
327+
name="Helmet with a golden leaf"
328328
/>
329-
<Item
330-
isPacked={false}
331-
name="Photo of Tam"
329+
<Item
330+
isPacked={false}
331+
name="Photo of Tam"
332332
/>
333333
</ul>
334334
</section>
@@ -366,17 +366,17 @@ export default function PackingList() {
366366
<section>
367367
<h1>Sally Ride's Packing List</h1>
368368
<ul>
369-
<Item
370-
importance={9}
371-
name="Space suit"
369+
<Item
370+
importance={9}
371+
name="Space suit"
372372
/>
373-
<Item
374-
importance={0}
375-
name="Helmet with a golden leaf"
373+
<Item
374+
importance={0}
375+
name="Helmet with a golden leaf"
376376
/>
377-
<Item
378-
importance={6}
379-
name="Photo of Tam"
377+
<Item
378+
importance={6}
379+
name="Photo of Tam"
380380
/>
381381
</ul>
382382
</section>
@@ -410,17 +410,17 @@ export default function PackingList() {
410410
<section>
411411
<h1>Sally Ride's Packing List</h1>
412412
<ul>
413-
<Item
414-
importance={9}
415-
name="Space suit"
413+
<Item
414+
importance={9}
415+
name="Space suit"
416416
/>
417-
<Item
418-
importance={0}
419-
name="Helmet with a golden leaf"
417+
<Item
418+
importance={0}
419+
name="Helmet with a golden leaf"
420420
/>
421-
<Item
422-
importance={6}
423-
name="Photo of Tam"
421+
<Item
422+
importance={6}
423+
name="Photo of Tam"
424424
/>
425425
</ul>
426426
</section>
@@ -620,10 +620,10 @@ button { display: block; margin-top: 10px; }
620620

621621
웹 사이트의 내용과 기능을 확장해달라는 많은 요청을 들었습니다. 예를 들어,
622622

623-
- 모든 예시에 대한 TypeScript 버전을 제공하기
624-
- 업데이트된 성능, 테스트, 접근성 가이드 만들기
625-
- React 서버 컴포넌트를 지원하는 프레임워크로부터 독립적으로 문서화하기
626-
- 새로운 문서가 번역되도록 전 세계 커뮤니티와 협업하기
623+
- 모든 예시에 대한 TypeScript 버전을 제공하기
624+
- 업데이트된 성능, 테스트, 접근성 가이드 만들기
625+
- React 서버 컴포넌트를 지원하는 프레임워크로부터 독립적으로 문서화하기
626+
- 새로운 문서가 번역되도록 전 세계 커뮤니티와 협업하기
627627
- 새로운 웹 사이트에 놓친 기능 추가하기 (예를 들어, 이 블로그를 위한 RSS)
628628

629629
이제 [react.dev](https://react.dev/)가 출시되었으니, 제삼자 React 교육 자료를 "따라잡는" 데서 벗어나 새로운 정보를 추가하고 새 웹 사이트를 더욱 개선하는 데 집중할 수 있게 되었습니다.

src/content/blog/2024/04/25/react-19-upgrade-guide.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The improvements added to React 19 RC require some breaking changes, but we've w
2020

2121
#### React 18.3 has also been published {/*react-18-3*/}
2222

23-
To help make the upgrade to React 19 easier, we've published a `[email protected]` release that is identical to 18.2 but adds warnings for deprecated APIs and other changes that are needed for React 19.
23+
To help make the upgrade to React 19 easier, we've published a `[email protected]` release that is identical to 18.2 but adds warnings for deprecated APIs and other changes that are needed for React 19.
2424

2525
We recommend upgrading to React 18.3 first to help identify any issues before upgrading to React 19.
2626

@@ -114,25 +114,25 @@ npx codemod@latest react/19/migration-recipe
114114
```
115115

116116
This will run the following codemods from `react-codemod`:
117-
- [`replace-reactdom-render`](https://github.com/reactjs/react-codemod?tab=readme-ov-file#replace-reactdom-render)
117+
- [`replace-reactdom-render`](https://github.com/reactjs/react-codemod?tab=readme-ov-file#replace-reactdom-render)
118118
- [`replace-string-ref`](https://github.com/reactjs/react-codemod?tab=readme-ov-file#replace-string-ref)
119119
- [`replace-act-import`](https://github.com/reactjs/react-codemod?tab=readme-ov-file#replace-act-import)
120-
- [`replace-use-form-state`](https://github.com/reactjs/react-codemod?tab=readme-ov-file#replace-use-form-state)
120+
- [`replace-use-form-state`](https://github.com/reactjs/react-codemod?tab=readme-ov-file#replace-use-form-state)
121121
- [`prop-types-typescript`](TODO)
122122

123123
This does not include the TypeScript changes. See [TypeScript changes](#typescript-changes) below.
124124

125125
</Note>
126126

127-
Changes that include a codemod include the command below.
127+
Changes that include a codemod include the command below.
128128

129129
For a list of all available codemods, see the [`react-codemod` repo](https://github.com/reactjs/react-codemod).
130130

131131
## Breaking changes {/*breaking-changes*/}
132132

133133
### Errors in render are not re-thrown {/*errors-in-render-are-not-re-thrown*/}
134134

135-
In previous versions of React, errors thrown during render were caught and rethrown. In DEV, we would also log to `console.error`, resulting in duplicate error logs.
135+
In previous versions of React, errors thrown during render were caught and rethrown. In DEV, we would also log to `console.error`, resulting in duplicate error logs.
136136

137137
In React 19, we've [improved how errors are handled](/blog/2024/04/25/react-19#error-handling) to reduce duplication by not re-throwing:
138138

@@ -353,7 +353,7 @@ npm install react-shallow-renderer --save-dev
353353

354354
##### Please reconsider shallow rendering {/*please-reconsider-shallow-rendering*/}
355355

356-
Shallow rendering depends on React internals and can block you from future upgrades. We recommend migrating your tests to [@testing-library/react](https://testing-library.com/docs/react-testing-library/intro/) or [@testing-library/react-native](https://testing-library.com/docs/react-native-testing-library/intro).
356+
Shallow rendering depends on React internals and can block you from future upgrades. We recommend migrating your tests to [@testing-library/react](https://testing-library.com/docs/react-testing-library/intro/) or [@testing-library/react-native](https://testing-library.com/docs/react-native-testing-library/intro).
357357

358358
</Note>
359359

@@ -470,7 +470,7 @@ npx codemod@latest react/19/replace-reactdom-render
470470

471471
#### Removed: `ReactDOM.findDOMNode` {/*removed-reactdom-finddomnode*/}
472472

473-
`ReactDOM.findDOMNode` was [deprecated in October 2018 (v16.6.0)](https://legacy.reactjs.org/blog/2018/10/23/react-v-16-6.html#deprecations-in-strictmode).
473+
`ReactDOM.findDOMNode` was [deprecated in October 2018 (v16.6.0)](https://legacy.reactjs.org/blog/2018/10/23/react-v-16-6.html#deprecations-in-strictmode).
474474

475475
We're removing `findDOMNode` because it was a legacy escape hatch that was slow to execute, fragile to refactoring, only returned the first child, and broke abstraction levels (see more [here](https://legacy.reactjs.org/docs/strict-mode.html#warning-about-deprecated-finddomnode-usage)). You can replace `ReactDOM.findDOMNode` with [DOM refs](/learn/manipulating-the-dom-with-refs):
476476

@@ -538,7 +538,7 @@ As with all Strict Mode behaviors, these features are designed to proactively su
538538

539539
### UMD builds removed {/*umd-builds-removed*/}
540540

541-
UMD was widely used in the past as a convenient way to load React without a build step. Now, there are modern alternatives for loading modules as scripts in HTML documents. Starting with React 19, React will no longer produce UMD builds to reduce the complexity of its testing and release process.
541+
UMD was widely used in the past as a convenient way to load React without a build step. Now, there are modern alternatives for loading modules as scripts in HTML documents. Starting with React 19, React will no longer produce UMD builds to reduce the complexity of its testing and release process.
542542

543543
To load React 19 with a script tag, we recommend using an ESM-based CDN such as [esm.sh](https://esm.sh/).
544544

@@ -556,7 +556,7 @@ This release includes changes to React internals that may impact libraries that
556556

557557
Based on our [Versioning Policy](https://react.dev/community/versioning-policy#what-counts-as-a-breaking-change), these updates are not listed as breaking changes, and we are not including docs for how to upgrade them. The recommendation is to remove any code that depends on internals.
558558

559-
To reflect the impact of using internals, we have renamed the `SECRET_INTERNALS` suffix to:
559+
To reflect the impact of using internals, we have renamed the `SECRET_INTERNALS` suffix to:
560560

561561
`_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE`
562562

0 commit comments

Comments
 (0)