Skip to content

Commit b6ef8fe

Browse files
committed
Merge branch 'master' of https://github.com/reactjs/ko.reactjs.org into translate/hooks-faq
2 parents fe67db2 + 5ff0a7e commit b6ef8fe

9 files changed

+13
-25
lines changed

.github/PULL_REQUEST_TEMPLATE.md

-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
Note to Hacktoberfest 🎃 participants:
2-
3-
While we appreciate the enthusiasm, we are experiencing a high volume of drive-by pull requests (one-line changes, README tweaks, etc.). Please remember that hundreds of people are subscribed to this repo and will receive notifications for these PRs. Spam submissions will be closed and won't count towards your Hacktoberfest goals.
4-
5-
Please search for issues tagged [`good first issue`][gfi] or [`hacktoberfest`][hacktoberfest] to find things to work on.
6-
7-
You can also search [all of GitHub][all].
8-
9-
[gfi]: https://github.com/reactjs/reactjs.org/issues?q=is%3Aissue+is%3Aopen+label%3A"good+first+issue"
10-
[hacktoberfest]: https://github.com/reactjs/reactjs.org/issues?q=is%3Aissue+is%3Aopen+label%3A"good+first+issue"
11-
[all]: https://github.com/search?q=is%3Aissue+hacktoberfest
121
<!--
132
143
Thank you for the PR! Contributors like you keep React awesome!

content/blog/2020-09-22-introducing-the-new-jsx-transform.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Since the new JSX transform doesn't require React to be in scope, [we've also pr
9999

100100
### Create React App {#create-react-app}
101101

102-
Create React App support [has been added](https://github.com/facebook/create-react-app/pull/9645) and will be available in the [upcoming v4.0 release](https://gist.github.com/iansu/4fab7a9bfa5fa6ebc87a908c62f5340b) which is currently in beta testing.
102+
Create React App [4.0.0](https://github.com/facebook/create-react-app/releases/tag/v4.0.0)+ uses the new transform for compatible React versions.
103103

104104
### Next.js {#nextjs}
105105

@@ -143,7 +143,7 @@ npm update @babel/core @babel/preset-react
143143
yarn upgrade @babel/core @babel/preset-react
144144
```
145145

146-
Currently, the old transform (`"runtime": "classic"`) is the default option. To enable the new transform, you can pass `{"runtime": "automatic"}` as an option to `@babel/plugin-transform-react-jsx` or `@babel/preset-react`:
146+
Currently, the old transform `{"runtime": "classic"}` is the default option. To enable the new transform, you can pass `{"runtime": "automatic"}` as an option to `@babel/plugin-transform-react-jsx` or `@babel/preset-react`:
147147

148148
```js
149149
// If you are using @babel/preset-react
@@ -192,11 +192,11 @@ If you are using [eslint-plugin-react](https://github.com/yannickcr/eslint-plugi
192192

193193
### TypeScript {#typescript}
194194

195-
TypeScript supports the JSX transform in [v4.1 beta](https://devblogs.microsoft.com/typescript/announcing-typescript-4-1-beta/#jsx-factories).
195+
TypeScript supports the new JSX transform in [v4.1 beta](https://devblogs.microsoft.com/typescript/announcing-typescript-4-1-beta/#jsx-factories).
196196

197197
### Flow {#flow}
198198

199-
Flow supports the new JSX transform in [v0.126.0](https://github.com/facebook/flow/releases/tag/v0.126.0) and up.
199+
Flow supports the new JSX transform in [v0.126.0](https://github.com/facebook/flow/releases/tag/v0.126.0) and up, by adding `react.runtime=automatic` to your Flow configuration options.
200200

201201
## Removing Unused React Imports {#removing-unused-react-imports}
202202

@@ -213,7 +213,6 @@ npx react-codemod update-react-imports
213213
>
214214
>Keep in mind that the codemod output will not always match your project's coding style, so you might want to run [Prettier](https://prettier.io/) after the codemod finishes for consistent formatting.
215215
216-
217216
Running this codemod will:
218217

219218
* Remove all unused React imports as a result of upgrading to the new JSX transform.

content/community/meetups.md

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ Do you have a local React.js meetup? Add it here! (Please keep the list alphabet
7575
* [React Berlin](https://www.meetup.com/React-Open-Source/)
7676

7777
## Greece {#greece}
78+
* [Athens](https://www.meetup.com/React-To-React-Athens-MeetUp/)
7879
* [Thessaloniki](https://www.meetup.com/Thessaloniki-ReactJS-Meetup/)
7980

8081
## Hungary {#hungary}

content/community/podcasts.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Podcasts dedicated to React and individual podcast episodes with React discussio
1616

1717
- [React 30](https://react30.com/) - A 30-minute podcast all about React (moved to [The React Podcast](https://reactpodcast.simplecast.fm/)).
1818

19-
- [React Native Radio](https://devchat.tv/react-native-radio)
19+
- [React Native Radio](https://reactnativeradio.com) - Exploring React Native Together, hosted by [Infinite Red](https://infinite.red)
2020

2121
- [React Wednesdays](https://www.telerik.com/react-wednesdays) - Weekly live streams with the best and brightest in the React world
2222

content/docs/concurrent-mode-patterns.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ function App() {
193193

194194
7줄의 코드만으로 트랜지션을 추가했습니다.
195195

196-
* `useTransition` 훅을 가져와 컴포넌트의 상태 갱신 부분에 사용했습니다.
196+
* `useTransition` 훅을 가져와 상태를 업데이트하는 컴포넌트에서 사용했습니다.
197197
* `{timeoutMs: 3000}` 옵션을 전달하여 최대 3초간 이전 화면을 유지하도록 설정했습니다.
198198
* React가 상태 갱신을 지연할 수 있도록 상태 갱신 코드를 `startTransition` 함수로 래핑했습니다.
199199
* `isPending`을 이용하여 사용자에게 작업 상황을 알리고 버튼을 비활성화합니다.
@@ -710,7 +710,7 @@ function App() {
710710
```js{4,5}
711711
function handleChange(e) {
712712
const value = e.target.value;
713-
713+
714714
// Outside the transition (urgent)
715715
setQuery(value);
716716

content/docs/context.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Context 객체를 만듭니다. Context 객체를 구독하고 있는 컴포넌
128128

129129
Context 오브젝트에 포함된 React 컴포넌트인 Provider는 context를 구독하는 컴포넌트들에게 context의 변화를 알리는 역할을 합니다.
130130

131-
Provider `value` prop를 받아서 이 값을 하위에 있는 컴포넌트에게 전달합니다. 값을 전달받을 수 있는 컴포넌트의 수에 제한은 없습니다. Provider 하위에 또 다른 Provider를 배치하는 것도 가능하며, 이 경우 하위 Provider의 값이 우선시됩니다.
131+
Provider 컴포넌트는 `value` prop을 받아서 이 값을 하위에 있는 컴포넌트에게 전달합니다. 값을 전달받을 수 있는 컴포넌트의 수에 제한은 없습니다. Provider 하위에 또 다른 Provider를 배치하는 것도 가능하며, 이 경우 하위 Provider의 값이 우선시됩니다.
132132

133133
Provider 하위에서 context를 구독하는 모든 컴포넌트는 Provider의 `value` prop가 바뀔 때마다 다시 렌더링 됩니다. Provider로부터 하위 consumer([`.contextType`](#classcontexttype)[`useContext`](/docs/hooks-reference.html#usecontext)을 포함한)로의 전파는 `shouldComponentUpdate` 메서드가 적용되지 않으므로, 상위 컴포넌트가 업데이트를 건너 뛰더라도 consumer가 업데이트됩니다.
134134

content/docs/faq-ajax.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class MyComponent extends React.Component {
7272
return (
7373
<ul>
7474
{items.map(item => (
75-
<li key={item.name}>
75+
<li key={item.id}>
7676
{item.name} {item.price}
7777
</li>
7878
))}
@@ -120,7 +120,7 @@ function MyComponent() {
120120
return (
121121
<ul>
122122
{items.map(item => (
123-
<li key={item.name}>
123+
<li key={item.id}>
124124
{item.name} {item.price}
125125
</li>
126126
))}

content/docs/getting-started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ React는 처음부터 점진적으로 적용할 수 있도록 설계되었으며
3636

3737
### 온라인 플레이그라운드 {#online-playgrounds}
3838

39-
React를 사용하는데 관심이 있다면, 온라인 코드 편집기를 사용할 수 있습니다. [CodePen](codepen://hello-world), [CodeSandbox](https://codesandbox.io/s/new), [Glitch](https://glitch.com/edit/#!/remix/starter-react-template) 또는 [Stackblitz](https://stackblitz.com/fork/react)에서 Hello World 템플릿을 사용해 보세요.
39+
React를 사용하는데 관심이 있다면, 온라인 코드 편집기를 사용할 수 있습니다. [CodePen](codepen://hello-world), [CodeSandbox](https://codesandbox.io/s/new) 또는 [Stackblitz](https://stackblitz.com/fork/react)에서 Hello World 템플릿을 사용해 보세요.
4040

4141
여러분이 사용하고 있는 코드 편집기를 사용하길 원한다면, [이 HTML 파일을 다운로드](https://raw.githubusercontent.com/reactjs/reactjs.org/master/static/html/single-file-example.html)하고 편집한 다음 브라우저의 로컬 파일 시스템에서 열 수도 있습니다. 런타임 코드 변환이 느리므로 간단한 데모에만 이 코드를 사용하는 것이 좋습니다.
4242

content/docs/reference-events.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ string type
3434

3535
> 주의
3636
>
37-
> v17부터 `e.persiste()``SyntheticEvent`가 더 이상 [풀링](/docs/legacy-event-pooling.html)되지 않기 때문에 아무런 동작을 하지 않습니다.
37+
> v17부터 `e.persist()``SyntheticEvent`가 더 이상 [풀링](/docs/legacy-event-pooling.html)되지 않기 때문에 아무런 동작을 하지 않습니다.
3838
3939
> 주의
4040
>
@@ -219,7 +219,6 @@ function Example() {
219219
}
220220
```
221221

222-
223222
* * *
224223

225224
### Form 이벤트 {#form-events}

0 commit comments

Comments
 (0)