-
Notifications
You must be signed in to change notification settings - Fork 47k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
243 changed files
with
9,005 additions
and
10,679 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,4 @@ | ||
<!-- | ||
Note: if the issue is about documentation or the website, please file it at: | ||
https://github.com/reactjs/reactjs.org/issues/new | ||
--> | ||
👉 Please follow one of these issue templates: | ||
- https://github.com/facebook/react/issues/new/choose | ||
|
||
**Do you want to request a *feature* or report a *bug*?** | ||
|
||
**What is the current behavior?** | ||
|
||
**If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Paste the link to your JSFiddle (https://jsfiddle.net/Luktwrdm/) or CodeSandbox (https://codesandbox.io/s/new) example below:** | ||
|
||
**What is the expected behavior?** | ||
|
||
**Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?** | ||
Note: to keep the backlog clean and actionable, issues may be immediately closed if they do not follow one of the above issue templates. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
name: "🐛 Bug Report" | ||
about: Report a reproducible bug or regression. | ||
title: 'Bug: ' | ||
labels: 'Status: Unconfirmed' | ||
|
||
--- | ||
|
||
<!-- | ||
Please provide a clear and concise description of what the bug is. Include | ||
screenshots if needed. Please test using the latest version of the relevant | ||
React packages to make sure your issue has not already been fixed. | ||
--> | ||
|
||
React version: | ||
|
||
## Steps To Reproduce | ||
|
||
1. | ||
2. | ||
|
||
<!-- | ||
Your bug will get fixed much faster if we can run your code and it doesn't | ||
have dependencies other than React. Issues without reproduction steps or | ||
code examples may be immediately closed as not actionable. | ||
--> | ||
|
||
Link to code example: | ||
|
||
<!-- | ||
Please provide a CodeSandbox (https://codesandbox.io/s/new), a link to a | ||
repository on GitHub, or provide a minimal code example that reproduces the | ||
problem. You may provide a screenshot of the application if you think it is | ||
relevant to your bug report. Here are some tips for providing a minimal | ||
example: https://stackoverflow.com/help/mcve. | ||
--> | ||
|
||
## The current behavior | ||
|
||
|
||
## The expected behavior |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
name: "📃 Documentation Issue" | ||
about: This issue tracker is not for documentation issues. Please file documentation issues at https://github.com/reactjs/reactjs.org. | ||
title: 'Docs: ' | ||
labels: 'Resolution: Invalid' | ||
|
||
--- | ||
|
||
🚨 This issue tracker is not for documentation issues. 🚨 | ||
|
||
The React website is hosted on a separate repository. You may let the | ||
team know about any issues with the documentation by opening an issue there: | ||
- https://github.com/reactjs/reactjs.org/issues/new |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
name: "🤔 Questions and Help" | ||
about: This issue tracker is not for questions. Please ask questions at https://stackoverflow.com/questions/tagged/react. | ||
title: 'Question: ' | ||
labels: 'Resolution: Invalid, Type: Question' | ||
|
||
--- | ||
|
||
🚨 This issue tracker is not for questions. 🚨 | ||
|
||
As it happens, support requests that are created as issues are likely to be closed. We want to make sure you are able to find the help you seek. Please take a look at the following resources. | ||
|
||
## Coding Questions | ||
|
||
If you have a coding question related to React and React DOM, it might be better suited for Stack Overflow. It's a great place to browse through frequent questions about using React, as well as ask for help with specific questions. | ||
|
||
https://stackoverflow.com/questions/tagged/react | ||
|
||
## Talk to other React developers | ||
|
||
There are many online forums which are a great place for discussion about best practices and application architecture as well as the future of React. | ||
|
||
https://reactjs.org/community/support.html#popular-discussion-forums | ||
|
||
## Proposals | ||
|
||
If you'd like to discuss topics related to the future of React, or would like to propose a new feature or change before sending a pull request, please check out the discussions and proposals repository. | ||
|
||
https://github.com/reactjs/rfcs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,27 @@ | ||
**Before submitting a pull request,** please make sure the following is done: | ||
|
||
1. Fork [the repository](https://github.com/facebook/react) and create your branch from `master`. | ||
2. Run `yarn` in the repository root. | ||
3. If you've fixed a bug or added code that should be tested, add tests! | ||
4. Ensure the test suite passes (`yarn test`). Tip: `yarn test --watch TestName` is helpful in development. | ||
5. Run `yarn test-prod` to test in the production environment. It supports the same options as `yarn test`. | ||
6. If you need a debugger, run `yarn debug-test --watch TestName`, open `chrome://inspect`, and press "Inspect". | ||
7. Format your code with [prettier](https://github.com/prettier/prettier) (`yarn prettier`). | ||
8. Make sure your code lints (`yarn lint`). Tip: `yarn linc` to only check changed files. | ||
9. Run the [Flow](https://flowtype.org/) typechecks (`yarn flow`). | ||
10. If you haven't already, complete the CLA. | ||
|
||
**Learn more about contributing:** https://reactjs.org/docs/how-to-contribute.html | ||
<!-- | ||
Thanks for submitting a pull request! | ||
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory. | ||
Before submitting a pull request, please make sure the following is done: | ||
1. Fork [the repository](https://github.com/facebook/react) and create your branch from `master`. | ||
2. Run `yarn` in the repository root. | ||
3. If you've fixed a bug or added code that should be tested, add tests! | ||
4. Ensure the test suite passes (`yarn test`). Tip: `yarn test --watch TestName` is helpful in development. | ||
5. Run `yarn test-prod` to test in the production environment. It supports the same options as `yarn test`. | ||
6. If you need a debugger, run `yarn debug-test --watch TestName`, open `chrome://inspect`, and press "Inspect". | ||
7. Format your code with [prettier](https://github.com/prettier/prettier) (`yarn prettier`). | ||
8. Make sure your code lints (`yarn lint`). Tip: `yarn linc` to only check changed files. | ||
9. Run the [Flow](https://flowtype.org/) typechecks (`yarn flow`). | ||
10. If you haven't already, complete the CLA. | ||
Learn more about contributing: https://reactjs.org/docs/how-to-contribute.html | ||
--> | ||
|
||
## Summary | ||
|
||
<!-- Explain the **motivation** for making this change. What existing problem does the pull request solve? --> | ||
|
||
## Test Plan | ||
|
||
<!-- Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes the user interface. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Reporting Security Issues | ||
|
||
If you believe you have found a security vulnerability in React, we encourage you to let us know right away. We will investigate all legitimate reports and do our best to quickly fix the problem. | ||
|
||
Please refer to the following page for our responsible disclosure policy, reward guidelines, and those things that should not be reported: | ||
|
||
https://www.facebook.com/whitehat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.