Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
74d047e
Include step to checkout v3 branch before building the devtools exten…
ThatTobMate Aug 20, 2019
aa85f15
Updated Render-Atlanta's Social Media (#2272)
Aug 20, 2019
4a7cc4a
fix links (#2257)
zcfan Aug 21, 2019
40596f8
docs: Add React Finland 2020 (#2275)
bebraw Aug 21, 2019
359c0d2
add the missing lang .. (#2284)
3imed-jaberi Aug 24, 2019
23b43b9
fix vietnamese trans. status .. (#2283)
3imed-jaberi Aug 24, 2019
e64cee2
add glitch react course (#2288)
alexkrolick Aug 25, 2019
c7f5645
Added Formik in the list of libraries, which use render props (#2287)
iamparnab Aug 25, 2019
ac9f9f1
fixing broken link (#2281)
lockround Aug 25, 2019
519a3ae
missed link in fast navigation added (#2289)
shdq Aug 26, 2019
6b3891a
Update link to stable React versions in docs (#2293)
mantcz Aug 26, 2019
b0a55fb
Edit the location of react-events package more precisely (#2297)
yongdamsh Aug 27, 2019
da869ab
Extracting Header and Footer Links from source into content (#2270)
Aug 28, 2019
97adbe5
Update meetups.md (#2299)
aprietof Aug 29, 2019
a3cb7c5
Removed hyperlink from 'a' (#2296)
arshita-kakkar Aug 29, 2019
24cced1
Remove duplication (#2308)
ahuth Aug 29, 2019
3eb3ed9
Adopt the Contributor Covenant (#2311)
zpao Aug 30, 2019
182c3a4
Link to Code of Conduct in the footer (#2313)
gaearon Aug 30, 2019
941f541
Update getting-started.md (#2312)
arshita-kakkar Aug 31, 2019
f732f25
Add missing comma (#2315)
Gjum Sep 3, 2019
61ce20a
Update to reflect changes in developer tools UI (#2320)
yhoiseth Sep 3, 2019
ec53a19
Fix title of GitHub
lex111 Sep 4, 2019
8b30ae4
Fix link to moved GH repo (#2326)
cendern Sep 8, 2019
d9ee8e5
merging all conflicts
reactjs-translation-bot Sep 9, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 74 additions & 3 deletions 77 CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,76 @@
# Code of Conduct

Facebook has adopted a Code of Conduct that we expect project participants to adhere to.
Please read the [full text](https://code.fb.com/codeofconduct/)
so that you can understand what actions will and will not be tolerated.
## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to make participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies within all project spaces, and it also applies when
an individual is representing the project or its community in public spaces.
Examples of representing a project or community include using an official
project e-mail address, posting via an official social media account, or acting
as an appointed representative at an online or offline event. Representation of
a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at <opensource-conduct@fb.com>. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq
2 changes: 1 addition & 1 deletion 2 content/blog/2017-07-26-error-handling-in-react-16.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,4 @@ Error boundaries preserve the declarative nature of React, and behave as you wou

React 15 included a very limited support for error boundaries under a different method name: `unstable_handleError`. This method no longer works, and you will need to change it to `componentDidCatch` in your code starting from the first 16 beta release.

For this change, we’ve provided [a codemod](https://github.com/reactjs/react-codemod#error-boundaries) to automatically migrate your code.
For this change, we’ve provided a [codemod](https://github.com/reactjs/react-codemod#error-boundaries) to automatically migrate your code.
3 changes: 3 additions & 0 deletions 3 content/blog/2019-08-15-new-react-devtools.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ git clone https://github.com/facebook/react-devtools

cd react-devtools

# Checkout the previous release branch
git checkout v3

# Install dependencies and build the unpacked extension
yarn install
yarn build:extension
Expand Down
7 changes: 6 additions & 1 deletion 7 content/community/conferences.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,12 @@ February 27 & 28, 2020 in Sydney, Australia
### Render-Atlanta 2020 {#render-atlanta-2020}
May 4-6, 2020. Atlanta, GA, USA.

[Website](https://renderatl.com)
[Website](https://renderatl.com) - [Twitter](https://twitter.com/renderATL) - [Instagram](https://www.instagram.com/renderatl/) - [Facebook](https://www.facebook.com/renderatl/)

### React Finland 2020 {#react-finland-2020}
May 26-29 in Helsinki, Finland

[Website](https://react-finland.fi/) - [Twitter](https://twitter.com/ReactFinland)

### React Next 2020 {#react-next-2020}
June 15, 2020. Tel Aviv, Israel.
Expand Down
2 changes: 2 additions & 0 deletions 2 content/community/courses.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ permalink: community/courses.html

## Free Courses {#free-courses}

- [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.

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

- [Egghead.io: Start Learning React](https://egghead.io/courses/start-learning-react) - This series will explore the basic fundamentals of React to get you started.
Expand Down
1 change: 1 addition & 0 deletions 1 content/community/meetups.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ Do you have a local React.js meetup? Add it here! (Please keep the list alphabet
* [New York, NY - ReactJS](https://www.meetup.com/NYC-Javascript-React-Group/)
* [New York, NY - React Ladies](https://www.meetup.com/React-Ladies/)
* [New York, NY - React Native](https://www.meetup.com/React-Native-NYC/)
* [New York, NY - useReactNYC](https://www.meetup.com/useReactNYC/)
* [Palo Alto, CA - React Native](https://www.meetup.com/React-Native-Silicon-Valley/)
* [Philadelphia, PA - ReactJS](https://www.meetup.com/RQ-React/)
* [Phoenix, AZ - ReactJS](https://www.meetup.com/ReactJS-Phoenix/)
Expand Down
2 changes: 2 additions & 0 deletions 2 content/community/support.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ React has a community of millions of developers.

On this page we've listed some React-related communities that you can be a part of; see the other pages in this section for additional online and in-person learning materials.

Before participating in React's communities, [please read our Code of Conduct](https://github.com/facebook/react/blob/master/CODE_OF_CONDUCT.md). We have adopted the [Contributor Covenant](https://www.contributor-covenant.org/) and we expect that all community members adhere to the guidelines within.

## Stack Overflow {#stack-overflow}

Stack Overflow is a popular forum to ask code-level questions or if you're stuck with a specific error. Read through the [existing questions](https://stackoverflow.com/questions/tagged/reactjs) tagged with **reactjs** or [ask your own](https://stackoverflow.com/questions/ask?tags=reactjs)!
Expand Down
2 changes: 1 addition & 1 deletion 2 content/community/tools-debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ layout: community
permalink: community/debugging-tools.html
---

* **[React Developer Tools](https://github.com/facebook/react-devtools):** an extension available for [Chrome](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi), [Firefox](https://addons.mozilla.org/firefox/addon/react-devtools/), and as a [standalone app](https://github.com/facebook/react-devtools/tree/master/packages/react-devtools) that allows you to inspect the React component hierarchy in the Chrome Developer Tools.
* **[React Developer Tools](https://github.com/facebook/react-devtools):** an extension available for [Chrome](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi), [Firefox](https://addons.mozilla.org/firefox/addon/react-devtools/), and as a [standalone app](https://github.com/facebook/react/tree/master/packages/react-devtools) that allows you to inspect the React component hierarchy in the Chrome Developer Tools.
4 changes: 4 additions & 0 deletions 4 content/docs/codebase-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,11 @@ React Fiber のアーキテクチャに関して[ここ](https://github.com/acdl

### イベントシステム {#event-system}

<<<<<<< HEAD
React は React DOM と React Native の両方で動作し、レンダラに依存しない合成 (synthetic) イベントシステムを実装しています。ソースコードは [`packages/events`](https://github.com/facebook/react/tree/master/packages/events) に格納されています。
=======
React implements a synthetic event system which is agnostic of the renderers and works both with React DOM and React Native. Its source code is located in [`packages/react-events`](https://github.com/facebook/react/tree/master/packages/react-events).
>>>>>>> 8b30ae43439818009213da86eca872a3d869c5eb

このイベントシステムのコードについて[深く掘り下げた動画](https://www.youtube.com/watch?v=dRo_egw7tBc)(66 分)があります。

Expand Down
4 changes: 4 additions & 0 deletions 4 content/docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,11 @@ React の[基本コンセプト](/docs/hello-world.html)について慣れてき

## バージョン管理されたドキュメント {#versioned-documentation}

<<<<<<< HEAD
このドキュメントは常に最新の stable 版の React に準拠しています。React 16 からは古いバージョンのドキュメントも[別のページ](/versions)から閲覧できます。古いバージョンのドキュメントは各バージョンリリース時のスナップショットであり、更新をかけることはありません。
=======
This documentation always reflects the latest stable version of React. Since React 16, you can find older versions of the documentation on a [separate page](/versions). Note that documentation for past versions is snapshotted at the time of the release, and isn't being continuously updated.
>>>>>>> 8b30ae43439818009213da86eca872a3d869c5eb

## 他に聞きたいことは? {#something-missing}

Expand Down
10 changes: 10 additions & 0 deletions 10 content/docs/how-to-contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,27 @@ redirect_from:

React は Facebook の最初のオープンソースプロジェクトの 1 つで現在も非常に活発に開発されており、[facebook.com](https://www.facebook.com) 上のあらゆる人々にコードを届けることにも使用されています。私たちはこのプロジェクトへの貢献をできるだけ簡単かつ透明性の高いものにするために努力していますが、まだ完全ではありません。このドキュメントがプロジェクトへの貢献の手順を明確にし、あなたの持つ疑問を解決できれば幸いです。

<<<<<<< HEAD
### [行動規範](https://code.facebook.com/codeofconduct) {#code-of-conduct}

Facebook が採用するプロジェクト参加者に期待する行動規範があります。[全文](https://code.facebook.com/codeofconduct)を読んでください、そうすれば参加者はどのような行動を取ればよいか、またどのような行動が許容されないのか理解できるでしょう。
=======
### [Code of Conduct](https://github.com/facebook/react/blob/master/CODE_OF_CONDUCT.md) {#code-of-conduct}

Facebook has adopted the [Contributor Covenant](https://www.contributor-covenant.org/) as its Code of Conduct, and we expect project participants to adhere to it. Please read [the full text](https://github.com/facebook/react/blob/master/CODE_OF_CONDUCT.md) so that you can understand what actions will and will not be tolerated.
>>>>>>> 8b30ae43439818009213da86eca872a3d869c5eb

### オープンな開発 {#open-development}

React に関する開発作業はすべて [GitHub](https://github.com/facebook/react) 上で直接行われます。コアチームメンバーと外部のコントリビューターの両方が、同じレビュープロセスを経由するプルリクエストを送ります。

### ブランチの構成 {#branch-organization}

<<<<<<< HEAD
私たちは [`master` branch](https://github.com/facebook/react/tree/master) を全てのテストが通るベストな状態に保つために努力しています。しかし素早い開発のため、あなたのアプリケーションと互換性がないかもしれない API の変更を行うことがあります。そのため [最新安定版の React](/downloads.html) を利用することをお勧めします。
=======
We will do our best to keep the [`master` branch](https://github.com/facebook/react/tree/master) in good shape, with tests passing at all times. But in order to move fast, we will make API changes that your application might not be compatible with. We recommend that you use [the latest stable version of React](/versions.html).
>>>>>>> 8b30ae43439818009213da86eca872a3d869c5eb

プルリクエストを送信する場合は、`master` ブランチに対して行ってください。私たちはメジャーバージョンの安定版ブランチを別々に管理していますが、それらへのプルリクエストは直接受け付けません。代わりに、master から最新の安定したメジャーバージョンへコードを壊さない cherry-pick を行います。

Expand Down
2 changes: 1 addition & 1 deletion 2 content/docs/optimizing-performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ Webpack v4 以降では本番 (production) モードでコードの minify を
const TerserPlugin = require('terser-webpack-plugin');

module.exports = {
mode: 'production'
mode: 'production',
optimization: {
minimizer: [new TerserPlugin({ /* additional options here */ })],
},
Expand Down
4 changes: 4 additions & 0 deletions 4 content/docs/reference-test-renderer.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,11 @@ testRenderer.toJSON()
testRenderer.toTree()
```

<<<<<<< HEAD
レンダーされたツリーを表すオブジェクトを返します。`toJSON()` とは異なり、このツリーはより詳細なものであり、ユーザー定義のコンポーネントも含んでいます。テストレンダラを利用して自作のアサーションライブラリを作成している場合以外は、おそらくこのメソッドが必要となることはないでしょう。
=======
Return an object representing the rendered tree. The representation is more detailed than the one provided by `toJSON()`, and includes the user-written components. You probably don't need this method unless you're writing your own assertion library on top of the test renderer.
>>>>>>> 8b30ae43439818009213da86eca872a3d869c5eb

### `testRenderer.update()` {#testrendererupdate}

Expand Down
4 changes: 4 additions & 0 deletions 4 content/docs/render-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ permalink: docs/render-props.html
)}/>
```

<<<<<<< HEAD
レンダープロップを用いたライブラリとしては、[React Router](https://reacttraining.com/react-router/web/api/Route/render-func) や [Downshift](https://github.com/paypal/downshift) などがあります。
=======
Libraries that use render props include [React Router](https://reacttraining.com/react-router/web/api/Route/render-func), [Downshift](https://github.com/paypal/downshift) and [Formik](https://github.com/jaredpalmer/formik).
>>>>>>> 8b30ae43439818009213da86eca872a3d869c5eb

このドキュメントでは、レンダープロップが役立つ理由と、その実装手順について解説します。

Expand Down
3 changes: 2 additions & 1 deletion 3 content/docs/testing-recipes.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ Common testing patterns for React components.

On this page, we will primarily use function components. However, these testing strategies don't depend on implementation details, and work just as well for class components too.

- [Setup/Teardown ](#setup--teardown)
- [Setup/Teardown](#setup--teardown)
- [`act()`](#act)
- [Rendering](#rendering)
- [Data Fetching](#data-fetching)
- [Mocking Modules](#mocking-modules)
- [Events](#events)
Expand Down
4 changes: 4 additions & 0 deletions 4 content/docs/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ React コンポーネントをテストするのにはいくつか方法があ

### 推奨ツール {#tools}

<<<<<<< HEAD
**[Jest](https://facebook.github.io/jest/)** は [`jsdom`](#mocking-a-rendering-surface) を通じて DOM にアクセスできる JavaScript のテストランナーです。jsdom はブラウザの模倣環境にすぎませんが、React コンポーネントをテストするのには十分なことが多いです。Jest は [モジュール](#mocking-modules) や [タイマー](#mocking-timers) のモックのような機能を組み合わせて、高速にイテレーションを回すことができ、コードをどう実行するかをよりコントロールできます。
=======
**[Jest](https://facebook.github.io/jest/)** is a JavaScript test runner that lets you access the DOM via [`jsdom`](/docs/testing-environments.html#mocking-a-rendering-surface). While jsdom is only an approximation of how the browser works, it is often good enough for testing React components. Jest provides a great iteration speed combined with powerful features like mocking [modules](/docs/testing-environments.html#mocking-modules) and [timers](/docs/testing-environments.html#mocking-timers) so you can have more control over how the code executes.
>>>>>>> 8b30ae43439818009213da86eca872a3d869c5eb

**[React Testing Library](https://testing-library.com/react)** は実装の詳細に依存せずに React コンポーネントをテストすることができるツールセットです。このアプローチはリファクタリングを容易にし、さらにアクセスビリティのベスト・プラクティスへと手向けてくれます。コンポーネントを children 抜きに「浅く」レンダリングする方法は提供していませんが、Jest のようなテストランナーで [モック](/docs/testing-recipes.html#mocking-modules) することで可能です。

Expand Down
43 changes: 43 additions & 0 deletions 43 content/footerNav.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
community:
title: Community

docs:
title: Docs

more:
title: More
items:
- title: Tutorial
to: /tutorial/tutorial.html
- title: Blog
to: /blog
- title: Acknowledgements
to: /acknowledgements.html
- title: React Native
to: https://facebook.github.io/react-native/
external: true

channels:
title: Channels
items:
- title: GitHub
to: https://github.com/facebook/react
external: true
- title: Stack Overflow
to: https://stackoverflow.com/questions/tagged/reactjs
external: true
- title: Discussion Forums
to: https://reactjs.org/community/support.html#popular-discussion-forums
external: true
- title: Reactiflux Chat
to: https://discord.gg/0ZcbPKXt5bZjGY5n
external: true
- title: DEV Community
to: https://dev.to/t/react
external: true
- title: Facebook
to: https://www.facebook.com/react
external: true
- title: Twitter
to: https://twitter.com/reactjs
external: true
13 changes: 13 additions & 0 deletions 13 content/headerNav.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
items:
- title: Docs
to: /docs/getting-started.html
activeSelector: /docs/
- title: Tutorial
to: /tutorial/tutorial.html
activeSelector: /tutorial
- title: Blog
to: /blog/
activeSelector: /blog
- title: Community
to: /community/support.html
activeSelector: /community
6 changes: 5 additions & 1 deletion 6 content/languages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@
translated_name: हिन्दी
code: hi
status: 0
- name: Hungarian
translated_name: magyar
code: hu
status: 0
- name: Armenian
translated_name: Հայերեն
code: hy
Expand Down Expand Up @@ -174,7 +178,7 @@
- name: Vietnamese
translated_name: Tiếng Việt
code: vi
status: 0
status: 1
- name: Simplified Chinese
translated_name: 简体中文
code: zh-hans
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.