Skip to content

Commit c339b69

Browse files
Merge branch 'master' into create_new_react_app
2 parents 6820594 + 588587a commit c339b69

File tree

6 files changed

+31
-14
lines changed

6 files changed

+31
-14
lines changed

content/community/conferences.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ April 23 - 24, 2020 in Kraków, Poland
3737

3838
[Website](http://appjs.co/react) - [Twitter](https://twitter.com/appjsconf)
3939

40+
### React Day Bangalore 2020 {#react-day-bangalore-2020}
41+
April 25, 2020 in Bangalore, India
42+
43+
[Website](https://reactday.in) - [Twitter](https://twitter.com/ReactDayIn)
44+
4045
### render(ATL) 2020 {#render-atlanta-2020}
4146
May 4-6, 2020. Atlanta, GA, USA.
4247

content/community/meetups.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,14 @@ Do you have a local React.js meetup? Add it here! (Please keep the list alphabet
2222
## Brazil {#brazil}
2323
* [Belo Horizonte](https://www.meetup.com/reactbh/)
2424
* [Curitiba](https://www.meetup.com/pt-br/ReactJS-CWB/)
25+
* [Florianópolis](https://www.meetup.com/pt-br/ReactJS-Floripa/)
26+
* [Goiânia](https://www.meetup.com/pt-br/React-Goiania/)
2527
* [Joinville](https://www.meetup.com/pt-BR/React-Joinville/)
28+
* [Juiz de Fora](https://www.meetup.com/pt-br/React-Juiz-de-Fora/)
29+
* [Maringá](https://www.meetup.com/pt-BR/React-Maringa/)
30+
* [Porto Alegre](https://www.meetup.com/pt-BR/React-Porto-Alegre/)
2631
* [Rio de Janeiro](https://www.meetup.com/pt-BR/React-Rio-de-Janeiro/)
32+
* [Salvador](https://www.meetup.com/pt-BR/ReactSSA)
2733
* [São Paulo](https://www.meetup.com/pt-BR/ReactJS-SP/)
2834
* [Vila Velha](https://www.meetup.com/pt-BR/React-ES/)
2935

@@ -75,6 +81,9 @@ Do you have a local React.js meetup? Add it here! (Please keep the list alphabet
7581
* [Delhi NCR](https://www.meetup.com/React-Delhi-NCR/)
7682
* [Jaipur](https://www.meetup.com/JaipurJS-Developer-Meetup/)
7783

84+
## Indonesia {#indonesia}
85+
* [Indonesia](https://www.meetup.com/reactindonesia/)
86+
7887
## Ireland {#ireland}
7988
* [Dublin](https://www.meetup.com/ReactJS-Dublin/)
8089

@@ -137,6 +146,7 @@ Do you have a local React.js meetup? Add it here! (Please keep the list alphabet
137146
* [Chicago, IL - ReactJS](https://www.meetup.com/React-Chicago/)
138147
* [Columbus, OH - ReactJS](https://www.meetup.com/ReactJS-Columbus-meetup/)
139148
* [Dallas, TX - ReactJS](https://www.meetup.com/ReactDallas/)
149+
* [Detroit, MI - Detroit React User Group](https://www.meetup.com/Detroit-React-User-Group/)
140150
* [Irvine, CA - ReactJS](https://www.meetup.com/ReactJS-OC/)
141151
* [Kansas City, MO - ReactJS](https://www.meetup.com/Kansas-City-React-Meetup/)
142152
* [Las Vegas, NV - ReactJS](https://www.meetup.com/ReactVegas/)

content/docs/addons-shallow-renderer.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ import ShallowRenderer from 'react-test-renderer/shallow'; // ES6
1313
var ShallowRenderer = require('react-test-renderer/shallow'); // ES5 with npm
1414
```
1515

16-
## Overview {#overview}
16+
## ओवरव्यू {#overview}
1717

18-
When writing unit tests for React, shallow rendering can be helpful. Shallow rendering lets you render a component "one level deep" and assert facts about what its render method returns, without worrying about the behavior of child components, which are not instantiated or rendered. This does not require a DOM.
18+
React के लिए यूनिट टेस्ट लिखते समय शैलो रेंडरिंग काफ़ी उपयोगी हो सकती है। शैलो रेंडरिंग आपको एक कौम्पोनॅन्ट को "एक स्तर गहरा" रेंडर करने देता है और रेंडर मेथड जो रिटर्न कर रहा है उसको अस्सर्ट कर सकते हैं कि इस कौम्पोनॅन्ट का रेंडर मेथड क्या return करेगा, child कौम्पोनॅन्टस के व्यव्हार की चिंता किये बिना, जो की instantiate या रेंडर नहीं होते। इसमें DOM की आवश्यकता नहीं होती है।
1919

20-
For example, if you have the following component:
20+
उदहारण के लिए, अगर आपके पास निम्नलिखित कौम्पोनॅन्ट है:
2121

2222
```javascript
2323
function MyComponent() {
@@ -30,7 +30,7 @@ function MyComponent() {
3030
}
3131
```
3232

33-
Then you can assert:
33+
तब आप अस्सर्ट कर सकते हैं:
3434

3535
```javascript
3636
import ShallowRenderer from 'react-test-renderer/shallow';
@@ -47,22 +47,22 @@ expect(result.props.children).toEqual([
4747
]);
4848
```
4949

50-
Shallow testing currently has some limitations, namely not supporting refs.
50+
वर्तमान में शैलो टेस्टिंग की कुछ सीमाएँ हैं, नामतः ये refs के साथ काम नहीं करता।
5151

52-
> Note:
52+
> टिप्पणी:
5353
>
54-
> We also recommend checking out Enzyme's [Shallow Rendering API](https://airbnb.io/enzyme/docs/api/shallow.html). It provides a nicer higher-level API over the same functionality.
54+
> हम Enzyme के [शैलो रेंडरिंग API](https://airbnb.io/enzyme/docs/api/shallow.html) का भी परीक्षण करने की भी सलाह देते हैं। यह उसी फंक्शनलिटी पर एक और अच्छे स्तर की API देता है।
5555
56-
## Reference {#reference}
56+
## संदर्भ {#reference}
5757

5858
### `shallowRenderer.render()` {#shallowrendererrender}
5959

60-
You can think of the shallowRenderer as a "place" to render the component you're testing, and from which you can extract the component's output.
60+
आप जिस कौम्पोनॅन्ट का परीक्षण कर रहे हैं, shallowRenderer को आप उसे रेंडर करने के एक "स्थान" की तरह सोच सकते हैं, और इससे आप कौम्पोनॅन्ट के आउटपुट को निकाल सकते हैं।
6161

62-
`shallowRenderer.render()` is similar to [`ReactDOM.render()`](/docs/react-dom.html#render) but it doesn't require DOM and only renders a single level deep. This means you can test components isolated from how their children are implemented.
62+
`shallowRenderer.render()` [`ReactDOM.render()`](/docs/react-dom.html#render) के समान ही है लेकिन इसे DOM की आवश्यकता नहीं है और यह केवल एक स्तर गहराई तक ही रेंडर करता है। इसका मतलब आप कौम्पोनॅन्टस का परिक्षण उनके children के लागू होने के तरीके से अलग रखकर कर सकते हैं।
6363

6464
### `shallowRenderer.getRenderOutput()` {#shallowrenderergetrenderoutput}
6565

66-
After `shallowRenderer.render()` has been called, you can use `shallowRenderer.getRenderOutput()` to get the shallowly rendered output.
66+
`shallowRenderer.render()` के call हो जाने के बाद आप शैलो रेंडर हुए आउटपुट को पाने के लिए `shallowRenderer.getRenderOutput()` का इस्तेमाल कर सकते हैं।
6767

68-
You can then begin to assert facts about the output.
68+
तब आप आउटपुट के बारे में तथ्यों को अस्सर्ट करना शुरू कर सकते हैं।

content/docs/concurrent-mode-suspense.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ Suspense answers some questions, but it also poses new questions of its own:
668668

669669
* If some component "suspends", does the app freeze? How to avoid this?
670670
* What if we want to show a spinner in a different place than "above" the component in a tree?
671-
* If we intentionally *want* to show an inconsistent UI for a small period time, can we do that?
671+
* If we intentionally *want* to show an inconsistent UI for a small period of time, can we do that?
672672
* Instead of showing a spinner, can we add a visual effect like "greying out" the current screen?
673673
* Why does our [last Suspense example](https://codesandbox.io/s/infallible-feather-xjtbu) log a warning when clicking the "Next" button?
674674

content/versions.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
- title: '16.11'
2+
changelog: https://github.com/facebook/react/blob/master/CHANGELOG.md#16110-october-22-2019
13
- title: '16.10.2'
24
changelog: https://github.com/facebook/react/blob/master/CHANGELOG.md#16102-october-3-2019
35
- title: '16.10.1'

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://reactjs.org';
11-
const version = '16.10.2';
11+
const version = '16.11.0';
1212
const babelURL = 'https://unpkg.com/[email protected]/babel.min.js';
1313

1414
export {babelURL, urlRoot, version};

0 commit comments

Comments
 (0)