Skip to content

Commit beb9e2c

Browse files
Merge pull request #117 from reactjs/sync-c970f75a
Sync with reactjs.org @ c970f75
2 parents d2cc66b + 4e7deef commit beb9e2c

File tree

10 files changed

+39
-29
lines changed

10 files changed

+39
-29
lines changed

content/community/conferences.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ March 27, 2021 - remote event
1717

1818
[Website](https://fwdays.com/en/event/react-fwdays-2021) - [Twitter](https://twitter.com/fwdays) - [Facebook](https://www.facebook.com/events/1133828147054286) - [LinkedIn](https://www.linkedin.com/events/reactfwdays-21onlineconference6758046347334582273) - [Meetup](https://www.meetup.com/ru-RU/Fwdays/events/275764431/)
1919

20-
### React Next 2020 {#react-next-2020}
21-
December 1-2, 2020 - remote event
22-
23-
[Website](https://react-next.com/) - [Twitter](https://twitter.com/reactnext) - [Facebook](https://www.facebook.com/ReactNext2016/)
24-
2520
### React Summit - Remote Edition 2021 {#react-summit-remote-2021}
2621
April 14-16, 2021, 7am PST / 10am EST / 4pm CEST - remote event
2722

2823
[Website](https://remote.reactsummit.com) - [Twitter](https://twitter.com/reactsummit) - [Facebook](https://www.facebook.com/reactamsterdam) - [Videos](https://youtube.com/c/ReactConferences)
2924

25+
### React Case Study Festival 2021 {#react-case-study-festival-2021}
26+
April 27-28, 2021 - remote event
27+
28+
[Website](https://link.geekle.us/react/offsite) - [LinkedIn](https://www.linkedin.com/events/reactcasestudyfestival6721300943411015680/) - [Facebook](https://www.facebook.com/events/255715435820203)
29+
3030
### render(ATL) 2021 {#render-atlanta-2021}
3131
September 13-15, 2021. Atlanta, GA, USA
3232

@@ -39,6 +39,11 @@ November 12-13, 2021 in Mumbai, India
3939

4040
## Past Conferences {#past-conferences}
4141

42+
### React Next 2020 {#react-next-2020}
43+
December 1-2, 2020 - remote event
44+
45+
[Website](https://react-next.com/) - [Twitter](https://twitter.com/reactnext) - [Facebook](https://www.facebook.com/ReactNext2016/)
46+
4247
### React Conf Brasil 2020 {#react-conf-brasil-2020}
4348
November 21, 2020 - remote event
4449

content/community/meetups.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ Do you have a local React.js meetup? Add it here! (Please keep the list alphabet
5050
* [Ottawa, ON](https://www.meetup.com/Ottawa-ReactJS-Meetup/)
5151
* [Toronto, ON](https://www.meetup.com/Toronto-React-Native/events/)
5252

53+
## Chile {#chile}
54+
* [Santiago](https://www.meetup.com/es-ES/react-santiago/)
55+
5356
## China {#china}
5457
* [Beijing](https://www.meetup.com/Beijing-ReactJS-Meetup/)
5558

content/docs/error-boundaries.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Check out [this example of declaring and using an error boundary](https://codepe
7171

7272
## Where to Place Error Boundaries {#where-to-place-error-boundaries}
7373

74-
The granularity of error boundaries is up to you. You may wrap top-level route components to display a “Something went wrong” message to the user, just like server-side frameworks often handle crashes. You may also wrap individual widgets in an error boundary to protect them from crashing the rest of the application.
74+
The granularity of error boundaries is up to you. You may wrap top-level route components to display a “Something went wrong” message to the user, just like how server-side frameworks often handle crashes. You may also wrap individual widgets in an error boundary to protect them from crashing the rest of the application.
7575

7676

7777
## New Behavior for Uncaught Errors {#new-behavior-for-uncaught-errors}
@@ -130,7 +130,7 @@ Error boundaries **do not** catch errors inside event handlers.
130130

131131
React doesn't need error boundaries to recover from errors in event handlers. Unlike the render method and lifecycle methods, the event handlers don't happen during rendering. So if they throw, React still knows what to display on the screen.
132132

133-
If you need to catch an error inside event handler, use the regular JavaScript `try` / `catch` statement:
133+
If you need to catch an error inside an event handler, use the regular JavaScript `try` / `catch` statement:
134134

135135
```js{9-13,17-20}
136136
class MyComponent extends React.Component {

content/docs/higher-order-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const EnhancedComponent = higherOrderComponent(WrappedComponent);
1414

1515
Whereas a component transforms props into UI, a higher-order component transforms a component into another component.
1616

17-
HOCs are common in third-party React libraries, such as Redux's [`connect`](https://github.com/reduxjs/react-redux/blob/master/docs/api/connect.md#connect) and Relay's [`createFragmentContainer`](http://facebook.github.io/relay/docs/en/fragment-container.html).
17+
HOCs are common in third-party React libraries, such as Redux's [`connect`](https://github.com/reduxjs/react-redux/blob/master/docs/api/connect.md#connect) and Relay's [`createFragmentContainer`](https://relay.dev/docs/v10.1.3/fragment-container/#createfragmentcontainer).
1818

1919
In this document, we'll discuss why higher-order components are useful, and how to write your own.
2020

content/docs/reference-react.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ A `React.memo` egy [felsőbb rendű komponens](/docs/higher-order-components.htm
128128

129129
Ha a függvény komponensed ugyanazt rendereli ugyanazon propok esetében, csomagold be egy `React.memo` meghívásba, hogy bizonyos esetekben memoizálni tudd az eredményt a teljesítmény fokozása érdekében. Ez azt jelenti, hogy a React kihagyja a komponens renderelését, és újrafelhasználja az utoljára renderelt eredményt.
130130

131-
A `React.memo` csak a propok változásait figzeli. Ha a `React.memo`-val körbevett függvényed implementációja rendelkezik egy [`useState`](/docs/hooks-state.html) vagy [`useContext`](/docs/hooks-reference.html#usecontext) horoggal, az újra lesz renderelve, amennyiben az állapot vagy a kontextus megváltozik.
131+
A `React.memo` csak a propok változásait figyeli. Ha a `React.memo`-val körbevett függvényed implementációja rendelkezik egy [`useState`](/docs/hooks-state.html), [`useReducer`](/docs/hooks-reference.html#usereducer) vagy [`useContext`](/docs/hooks-reference.html#usecontext) horoggal, az újra lesz renderelve, amennyiben az állapot vagy a kontextus megváltozik.
132132

133133
Komplex prop objektumok esetében alapértelmezés szerint csak sekély összehasonlítást végez. Ha teljes kontrollt szeretnél az összehasonlítás felett, a második argumentumként megadhatsz egy egyedi összehasonlító függvényt.
134134

content/docs/testing-recipes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,20 +465,20 @@ import { act } from "react-dom/test-utils";
465465
466466
import Card from "./card";
467467
468-
jest.useFakeTimers();
469-
470468
let container = null;
471469
beforeEach(() => {
472470
// setup a DOM element as a render target
473471
container = document.createElement("div");
474472
document.body.appendChild(container);
473+
jest.useFakeTimers();
475474
});
476475
477476
afterEach(() => {
478477
// cleanup on exiting
479478
unmountComponentAtNode(container);
480479
container.remove();
481480
container = null;
481+
jest.useRealTimers();
482482
});
483483
484484
it("should select null after timing out", () => {

content/versions.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
- title: '17.0.2'
2+
changelog: https://github.com/facebook/react/blob/master/CHANGELOG.md#1702-march-22-2021
13
- title: '17.0.1'
24
changelog: https://github.com/facebook/react/blob/master/CHANGELOG.md#1701-october-22-2020
35
- title: '17.0.0'

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@
4646
"mdast-util-to-string": "^1.0.5",
4747
"normalize.css": "^8.0.0",
4848
"prettier": "^1.7.4",
49-
"prismjs": "^1.23.0",
50-
"react": "^17.0.1",
51-
"react-dom": "^17.0.1",
49+
"prismjs": "^1.15.0",
50+
"react": "^17.0.2",
51+
"react-dom": "^17.0.2",
5252
"react-helmet": "^5.2.0",
5353
"react-live": "1.8.0-0",
5454
"remarkable": "^1.7.1",
@@ -58,7 +58,7 @@
5858
"unist-util-visit": "^1.1.3"
5959
},
6060
"engines": {
61-
"node": "12.x.x || 14.x.x",
61+
"node": "12.x.x || 14.x.x || 15.x.x",
6262
"yarn": "^1.3.2"
6363
},
6464
"homepage": "https://hu.reactjs.org/",

src/site-constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// NOTE: We can't just use `location.toString()` because when we are rendering
99
// the SSR part in node.js we won't have a proper location.
1010
const urlRoot = 'https://hu.reactjs.org';
11-
const version = '17.0.1';
11+
const version = '17.0.2';
1212
const babelURL = 'https://unpkg.com/[email protected]/babel.min.js';
1313

1414
export {babelURL, urlRoot, version};

yarn.lock

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12448,14 +12448,14 @@ react-dev-utils@^4.2.3:
1244812448
strip-ansi "3.0.1"
1244912449
text-table "0.2.0"
1245012450

12451-
react-dom@^17.0.1:
12452-
version "17.0.1"
12453-
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-17.0.1.tgz#1de2560474ec9f0e334285662ede52dbc5426fc6"
12454-
integrity sha512-6eV150oJZ9U2t9svnsspTMrWNyHc6chX0KzDeAOXftRa8bNeOKTTfCJ7KorIwenkHd2xqVTBTCZd79yk/lx/Ug==
12451+
react-dom@^17.0.2:
12452+
version "17.0.2"
12453+
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-17.0.2.tgz#ecffb6845e3ad8dbfcdc498f0d0a939736502c23"
12454+
integrity sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==
1245512455
dependencies:
1245612456
loose-envify "^1.1.0"
1245712457
object-assign "^4.1.1"
12458-
scheduler "^0.20.1"
12458+
scheduler "^0.20.2"
1245912459

1246012460
react-error-overlay@^3.0.0:
1246112461
version "3.0.0"
@@ -12601,10 +12601,10 @@ react@^16.8.0:
1260112601
object-assign "^4.1.1"
1260212602
prop-types "^15.6.2"
1260312603

12604-
react@^17.0.1:
12605-
version "17.0.1"
12606-
resolved "https://registry.yarnpkg.com/react/-/react-17.0.1.tgz#6e0600416bd57574e3f86d92edba3d9008726127"
12607-
integrity sha512-lG9c9UuMHdcAexXtigOZLX8exLWkW0Ku29qPRU8uhF2R9BN96dLCt0psvzPLlHc5OWkgymP3qwTRgbnw5BKx3w==
12604+
react@^17.0.2:
12605+
version "17.0.2"
12606+
resolved "https://registry.yarnpkg.com/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037"
12607+
integrity sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==
1260812608
dependencies:
1260912609
loose-envify "^1.1.0"
1261012610
object-assign "^4.1.1"
@@ -13433,10 +13433,10 @@ scheduler@^0.19.1:
1343313433
loose-envify "^1.1.0"
1343413434
object-assign "^4.1.1"
1343513435

13436-
scheduler@^0.20.1:
13437-
version "0.20.1"
13438-
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.20.1.tgz#da0b907e24026b01181ecbc75efdc7f27b5a000c"
13439-
integrity sha512-LKTe+2xNJBNxu/QhHvDR14wUXHRQbVY5ZOYpOGWRzhydZUqrLb2JBvLPY7cAqFmqrWuDED0Mjk7013SZiOz6Bw==
13436+
scheduler@^0.20.2:
13437+
version "0.20.2"
13438+
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.20.2.tgz#4baee39436e34aa93b4874bddcbf0fe8b8b50e91"
13439+
integrity sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==
1344013440
dependencies:
1344113441
loose-envify "^1.1.0"
1344213442
object-assign "^4.1.1"

0 commit comments

Comments
 (0)