Skip to content

Commit f388630

Browse files
Merge branch 'master' into master
2 parents 1466ab4 + 0555156 commit f388630

File tree

16 files changed

+204
-168
lines changed

16 files changed

+204
-168
lines changed

content/404.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
layout: single
3-
title: Page Not Found
3+
title: पेज नहीं मिला
44
permalink: 404.html
55
---
66

7-
We couldn't find what you were looking for.
7+
जिसकी आपको तलाश थी, हमें वह नहीं मिला।
88

9-
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
9+
कृपया उस साइट के मालिक को संपर्क करें जिसने आपको मूल URL से जोड़ा है और उन्हें बताएं कि उनका लिंक टूटा हुआ है।

content/community/conferences.md

+18-3
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ March 30 - 31, 2020 in San Francisco, CA
1717

1818
[Website](https://www.reactathon.com) - [Twitter](https://twitter.com/reactathon) - [Facebook](https://www.facebook.com/events/575942819854160/)
1919

20-
### React Summit Amsterdam 2020 {#react-summit-2020}
21-
September 11, 2020 in Amsterdam, The Netherlands
20+
### React Summit - Remote Edition 2020 {#react-summit-remote-2020}
21+
3pm CEST time, April 17, 2020 - remote event
2222

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

2525
### React Day Bangalore 2020 {#react-day-bangalore-2020}
2626
April 25, 2020 in Bangalore, India
@@ -82,11 +82,26 @@ September 5-6, 2020 in Wrocław, Poland
8282

8383
[Website](https://www.react-native.eu/) - [Twitter](https://twitter.com/react_native_eu) - [Facebook](https://www.facebook.com/reactnativeeu/) - [YouTube](https://www.youtube.com/watch?v=m0GfmlGFh3E&list=PLZ3MwD-soTTHy9_88QPLF8DEJkvoB5Tl-) - [Instagram](https://www.instagram.com/reactnative_eu/)
8484

85+
### React Summit Amsterdam 2020 {#react-summit-2020}
86+
September 8-11, 2020 in Amsterdam, The Netherlands
87+
88+
[Website](https://reactsummit.com) - [Twitter](https://twitter.com/reactamsterdam) - [Facebook](https://www.facebook.com/reactamsterdam) - [Videos](https://youtube.com/c/ReactConferences)
89+
90+
### React Advanced 2020 {#react-advanced-2020}
91+
October 21-23, 2020 in London, UK
92+
93+
[Website](https://reactadvanced.com) - [Twitter](http://twitter.com/reactadvanced) - [Facebook](https://www.facebook.com/ReactAdvanced) - [Videos](https://youtube.com/c/ReactConferences)
94+
8595
### React India 2020 {#react-india-2020}
8696
November 6, 2020 in Mumbai, India
8797

8898
[Website](https://www.reactindia.io) - [Twitter](https://twitter.com/react_india) - [Facebook](https://www.facebook.com/ReactJSIndia/) - [LinkedIn](https://www.linkedin.com/showcase/14545585) - [YouTube](https://www.youtube.com/channel/UCaFbHCBkPvVv1bWs_jwYt3w/videos)
8999

100+
### React Day Berlin 2020 {#react-day-berlin-2020}
101+
November 25-27, 2020 in Berlin, Germany
102+
103+
[Website](https://reactday.berlin) - [Twitter](https://twitter.com/reactdayberlin) - [Facebook](https://www.facebook.com/reactdayberlin/) - [Videos](https://www.youtube.com/reactdayberlin)
104+
90105
## Past Conferences {#past-conferences}
91106

92107
### React.js Conf 2015 {#reactjs-conf-2015}

content/community/courses.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ permalink: community/courses.html
88

99
## Free Courses {#free-courses}
1010

11-
- [Glitch: React Starter Kit](https://glitch.com/culture/react-starter-kit/) - A free, 5-part video course with interactive code examples that will help you learn React.
11+
- [Glitch: React Starter Kit](https://glitch.com/glimmer/post/react-starter-kit/) - A free, 5-part video course with interactive code examples that will help you learn React.
1212

1313
- [Codecademy: React 101](https://www.codecademy.com/learn/react-101) - Codecademy's introductory course for React.
1414

content/community/examples.md

+14-17
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,21 @@ sectionid: community
66
permalink: community/examples.html
77
---
88

9-
There are many example projects created by the React community. Feel free to add your own project. If you add a project, please commit to keeping it up to date with the latest versions of React.
9+
There are many example projects created by the React community. We're keeping this page focused on the ones that use React without third-party state management libraries.
1010

11+
If you add a project, please commit to keeping it up to date with the latest versions of React.
12+
13+
## Small Examples
1114

12-
* **[Zeldog](https://yannsainty.github.io/Zeldog/)** A Zelda like game with a dog fighting ducks and more to eat pizza !
1315
* **[Calculator](https://github.com/ahfarmer/calculator)** Implementation of the iOS calculator built in React
14-
* **[Emoji Search](https://github.com/ahfarmer/emoji-search)** Simple React app for searching emoji
15-
* **[React Powered Hacker News Client](https://github.com/insin/react-hn)** A React & `react-router`-powered implementation of Hacker News using its Firebase API
16-
* **[Pokedex](https://github.com/alik0211/pokedex)** The list of Pokémon with live search
17-
* **[Shopping Cart](https://github.com/jeffersonRibeiro/react-shopping-cart)** Simple e-commerce cart application built using React
18-
* **[Progressive Web Tetris](https://github.com/skidding/flatris)** Besides a beautiful, mobile-friendly implementation of Tetris, this project is a playground for integrating and experimenting with web technologies.
19-
* **[Product Comparison Page](https://github.com/Rhymond/product-compare-react)** Simple Product Compare page built in React
20-
* **[Hacker News Clone React/GraphQL](https://github.com/clintonwoo/hackernews-react-graphql)** Hacker News clone rewritten with universal JavaScript, using React and GraphQL
21-
* **[Bitcoin Price Index](https://github.com/mrkjlchvz/bitcoin-price-index)** Simple Bitcoin price index data from CoinDesk API
22-
* **[Builder Book](https://github.com/builderbook/builderbook)** Open-source web app to write and host documentation or sell books. Built with React, Material-UI, Next, Express, Mongoose, MongoDB.
23-
* **[GFonts Space](https://github.com/pankajladhar/GFontsSpace)** A space which allows user to play with Google fonts. Built with React, Redux and React-Router.
24-
* **[Course Learn Page](https://github.com/ulearnpro/ulearn)** Open Source LMS script in Laravel 5.8 and ReactJS 16.9
25-
* **[Speedy math](https://github.com/pankajladhar/speedy-math)** An application which allows kids to practice basic Mathematics i.e Addition, Subtraction, Multiply, Comparison. It is a PWA (Progressive web app) with offline support and install as App features.
26-
* **[Unit Converter](https://github.com/KarthikeyanRanasthala/react-unit-converter)** Minimal Yet Responsive Unit Converter Built With React, Material-UI & Convert-Units.
16+
* **[Emoji Search](https://github.com/ahfarmer/emoji-search)** React app for searching emoji
17+
* **[Snap Shot](https://github.com/Yog9/SnapShot)** A photo gallery with search
2718
* **[BMI Calculator](https://github.com/GermaVinsmoke/bmi-calculator)** A React Hooks app for calculating BMI
28-
* **[ReactJS Hangman Game](https://github.com/vetrivelcsamy/reactjs-hangman)** ReactJS Hangman Game Find a Programming Language.
29-
* **[Radix Converter](https://github.com/kumom/radix-converter)** A small tool that converts numbers in radix 2 to 36 with arbitrary precision.
19+
* **[Image Compressor](https://github.com/RaulB-masai/react-image-compressor)** An offline image compressor built with React and browser-image-compression
20+
* **[Counter App](https://github.com/arnab-datta/counter-app)** A small shopping cart example
21+
* **[Tutorial Solutions](https://github.com/harman052/react-tutorial-solutions)** Solutions to challenges mentioned at the end of React tutorial
22+
23+
## Complete Apps
24+
25+
* **[Hacker News Clone React/GraphQL](https://github.com/clintonwoo/hackernews-react-graphql)** Hacker News clone rewritten with universal JavaScript, using React and GraphQL
26+
* **[Builder Book](https://github.com/builderbook/builderbook)** Open-source web app to write and host documentation or sell books. Built with React, Material-UI, Next, Express, Mongoose, MongoDB

content/community/external-resources.md

+2
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,6 @@ There are many wonderful curated resources the React community has put together.
1818

1919
- [Awesome React Talks](https://github.com/tiaanduplessis/awesome-react-talks) - A curated list of React talks.
2020

21+
- [Awesome React Videos](https://www.awesomereact.com) - A website highlighting the best React videos.
22+
2123
- [Hero35 React Hub](https://hero35.com/topic/react) - A website with _all_ React conferences and talks, categorized & curated.

content/community/team.md

+3-17
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,6 @@ Dominic is interested in travelling, drum and bass, stand-up comedy and spending
5454

5555
Luna learned programming because she thought it meant creating video games. Instead, she ended up working on the Pinterest web app, and now on React itself. Luna doesn't want to make video games anymore, but she plans to do creative writing if she ever gets bored.
5656

57-
### Nicolas Gallagher {#nicolas-gallagher}
58-
59-
![Nicolas](../images/team/necolas.jpg)
60-
61-
[@necolas on GitHub](https://github.com/necolas) · [@necolas on Twitter](https://twitter.com/necolas)
62-
63-
Nicolas has majored in anthropology. He started in web development by building a website for a friend, and eventually found himself rebuilding the Twitter website with React. Nicolas describes himself as boring on paper, not much better in real life.
64-
6557
### Rachel Nabors {#rachel-nabors}
6658

6759
![Rachel](../images/team/rnabors.jpg)
@@ -78,14 +70,6 @@ Rachel wrote a [book about UI animation](https://abookapart.com/products/animati
7870

7971
Sebastian majored in psychology. He's usually quiet. Even when he says something, it often doesn't make sense to the rest of us until a few months later. The correct way to pronounce his surname is "mark-boa-geh" but he settled for "mark-beige" out of pragmatism -- and that's how he approaches React.
8072

81-
### Sunil Pai {#sunil-pai}
82-
83-
![Sunil](../images/team/threepointone.jpg)
84-
85-
[@threepointone on GitHub](https://github.com/threepointone) · [@threepointone on Twitter](https://twitter.com/threepointone)
86-
87-
Sunil started writing JavaScript for IE6 and still has some regrets about it. He worked in consulting, design, and product firms, before joining the React team to help others do the same. Sunil plays a blue Les Paul guitar, loves London, and would appreciate a response to his last ping, please and thank you!
88-
8973
### Yuzhi Zheng {#yuzhi-zheng}
9074

9175
![Yuzhi](../images/team/yuzhi.jpg)
@@ -120,13 +104,15 @@ React was originally created by [Jordan Walke](https://github.com/jordwalke). To
120104
* [Keyan Zhang](https://github.com/keyz)
121105
* [Nat Alison](https://github.com/tesseralis)
122106
* [Nathan Hunzaker](https://github.com/nhunzaker)
107+
* [Nicolas Gallagher](https://github.com/necolas)
123108
* [Paul O'Shannessy](https://github.com/zpao)
124109
* [Pete Hunt](https://github.com/petehunt)
125110
* [Philipp Spiess](https://github.com/philipp-spiess)
126111
* [Sander Spies](https://github.com/sanderspies)
112+
* [Sasha Aickin](https://github.com/aickin)
127113
* [Sophia Shoemaker](https://github.com/mrscobbler)
128114
* [Sophie Alpert](https://github.com/sophiebits)
129-
* [Sasha Aickin](https://github.com/aickin)
115+
* [Sunil Pai](https://github.com/threepointone)
130116
* [Tim Yung](https://github.com/yungsters)
131117

132118
This list is not exhaustive.

content/docs/cdn-links.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ id: cdn-links
33
title: CDN लिंकस
44
permalink: docs/cdn-links.html
55
prev: create-a-new-react-app.html
6-
next: hello-world.html
6+
next: release-channels.html
77
---
88

99
React एवं ReactDOM दोनों CDN पर उपलब्ध हैं।

content/docs/faq-ajax.md

+47
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,50 @@ class MyComponent extends React.Component {
8282
}
8383
}
8484
```
85+
86+
Here is the equivalent with [Hooks](https://reactjs.org/docs/hooks-intro.html):
87+
88+
```js
89+
function MyComponent() {
90+
const [error, setError] = useState(null);
91+
const [isLoaded, setIsLoaded] = useState(false);
92+
const [items, setItems] = useState([]);
93+
94+
// Note: the empty deps array [] means
95+
// this useEffect will run once
96+
// similar to componentDidMount()
97+
useEffect(() => {
98+
fetch("https://api.example.com/items")
99+
.then(res => res.json())
100+
.then(
101+
(result) => {
102+
setIsLoaded(true);
103+
setItems(result.items);
104+
},
105+
// Note: it's important to handle errors here
106+
// instead of a catch() block so that we don't swallow
107+
// exceptions from actual bugs in components.
108+
(error) => {
109+
setIsLoaded(true);
110+
setError(error);
111+
}
112+
)
113+
}, [])
114+
115+
if (error) {
116+
return <div>Error: {error.message}</div>;
117+
} else if (!isLoaded) {
118+
return <div>Loading...</div>;
119+
} else {
120+
return (
121+
<ul>
122+
{items.map(item => (
123+
<li key={item.name}>
124+
{item.name} {item.price}
125+
</li>
126+
))}
127+
</ul>
128+
);
129+
}
130+
}
131+
```

content/docs/forms.md

+1-7
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,7 @@ class NameForm extends React.Component {
6868

6969
Since the `value` attribute is set on our form element, the displayed value will always be `this.state.value`, making the React state the source of truth. Since `handleChange` runs on every keystroke to update the React state, the displayed value will update as the user types.
7070

71-
With a controlled component, every state mutation will have an associated handler function. This makes it straightforward to modify or validate user input. For example, if we wanted to enforce that names are written with all uppercase letters, we could write `handleChange` as:
72-
73-
```javascript{2}
74-
handleChange(event) {
75-
this.setState({value: event.target.value.toUpperCase()});
76-
}
77-
```
71+
With a controlled component, the input's value is always driven by the React state. While this means you have to type a bit more code, you can now pass the value to other UI elements too, or reset it from other event handlers.
7872

7973
## The textarea Tag {#the-textarea-tag}
8074

0 commit comments

Comments
 (0)