-
Notifications
You must be signed in to change notification settings - Fork 103
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
88 changed files
with
3,309 additions
and
277 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: "🐛 Report a bug" | ||
description: "Report a problem on the website." | ||
title: "[Bug]: " | ||
labels: ["bug: unconfirmed"] | ||
body: | ||
- type: textarea | ||
attributes: | ||
label: Summary | ||
description: | | ||
A clear and concise summary of what the bug is. | ||
placeholder: | | ||
Example bug report: | ||
When I click the "Submit" button on "Feedback", nothing happens. | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: Page | ||
description: | | ||
What page(s) did you encounter this bug on? | ||
placeholder: | | ||
https://react.dev/ | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Details | ||
description: | | ||
Please provide any additional details about the bug. | ||
placeholder: | | ||
Example details: | ||
The "Submit" button is unresponsive. I've tried refreshing the page and using a different browser, but the issue persists. | ||
validations: | ||
required: false |
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,34 @@ | ||
name: "🤦 Typo or mistake" | ||
description: "Report a typo or mistake in the docs." | ||
title: "[Typo]: " | ||
labels: ["type: typos"] | ||
body: | ||
- type: textarea | ||
attributes: | ||
label: Summary | ||
description: | | ||
A clear and concise summary of what the mistake is. | ||
placeholder: | | ||
Example: | ||
The code example on the "useReducer" page includes an unused variable `nextId`. | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: Page | ||
description: | | ||
What page is the typo on? | ||
placeholder: | | ||
https://react.dev/ | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Details | ||
description: | | ||
Please provide a explanation for why this is a mistake. | ||
placeholder: | | ||
Example mistake: | ||
In the "useReducer" section of the "API Reference" page, the code example under "Writing a reducer function" includes an unused variable `nextId` that should be removed. | ||
validations: | ||
required: false |
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,34 @@ | ||
name: "💡 Suggestions" | ||
description: "Suggest a new page, section, or edit for an existing page." | ||
title: "[Suggestion]: " | ||
labels: ["type: documentation"] | ||
body: | ||
- type: textarea | ||
attributes: | ||
label: Summary | ||
description: | | ||
A clear and concise summary of what we should add. | ||
placeholder: | | ||
Example: | ||
Add a new page for how to use React with TypeScript. | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: Page | ||
description: | | ||
What page is this about? | ||
placeholder: | | ||
https://react.dev/ | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Details | ||
description: | | ||
Please provide a explanation for what you're suggesting. | ||
placeholder: | | ||
Example: | ||
I think it would be helpful to have a page that explains how to use React with TypeScript. This could include a basic example of a component written in TypeScript, and a link to the TypeScript documentation. | ||
validations: | ||
required: true |
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,116 @@ | ||
name: "📄 Suggest new framework" | ||
description: "I am a framework author applying to be included as a recommended framework." | ||
title: "[Framework]: " | ||
labels: ["type: framework"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
## Apply to be included as a recommended React framework | ||
_This form is for framework authors to apply to be included as a recommended [React framework](https://react.dev/learn/start-a-new-react-project). If you are not a framework author, please contact the authors before submitting._ | ||
Our goal when recommending a framework is to start developers with a React project that solves common problems like code splitting, data fetching, routing, and HTML generation without any extra work later. We believe this will allow users to get started quickly with React, and scale their app to production. | ||
While we understand that many frameworks may want to be featured, this page is not a place to advertise every possible React framework or all frameworks that you can add React to. There are many great frameworks that offer support for React that are not listed in our guides. The frameworks we recommend have invested significantly in the React ecosystem, and collaborated with the React team to be compatible with our [full-stack React architecture vision](https://react.dev/learn/start-a-new-react-project#which-features-make-up-the-react-teams-full-stack-architecture-vision). | ||
To be included, frameworks must meet the following criteria: | ||
- **Free & open-source**: must be open source and free to use. | ||
- **Well maintained**. must be actively maintained, providing bug fixes and improvements. | ||
- **Active community**: must have a sufficiently large and active community to support users. | ||
- **Clear onboarding**: must have clear install steps to install the React version of the framework. | ||
- **Ecosystem compatibility**: must support using the full range of libraries and tools in the React ecosystem. | ||
- **Self-hosting option**: must support an option to self-host applications without losing access to features. | ||
- **Developer experience**. must allow developers to be productive by supporting features like Fast Refresh. | ||
- **User experience**. must provide built-in support for common problems like routing and data-fetching. | ||
- **Compatible with our future vision for React**. React evolves over time, and frameworks that do not align with React’s direction risk isolating their users from the main React ecosystem over time. To be included on this page we must feel confident that the framework is setting its users up for success with React over time. | ||
Please note, we have reviewed most of the popular frameworks available today, so it is unlikely we have not considered your framework already. But if you think we missed something, please complete the application below. | ||
- type: input | ||
attributes: | ||
label: Name | ||
description: | | ||
What is the name of your framework? | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: Homepage | ||
description: | | ||
What is the URL of your homepage? | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: Install instructions | ||
description: | | ||
What is the URL of your getting started guide? | ||
validations: | ||
required: true | ||
- type: dropdown | ||
attributes: | ||
label: Is your framework open source? | ||
description: | | ||
We only recommend free and open source frameworks. | ||
options: | ||
- 'No' | ||
- 'Yes' | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Well maintained | ||
description: | | ||
Please describe how your framework is actively maintained. Include recent releases, bug fixes, and improvements as examples. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Active community | ||
description: | | ||
Please describe your community. Include the size of your community, and links to community resources. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Clear onboarding | ||
description: | | ||
Please describe how a user can install your framework with React. Include links to any relevant documentation. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Ecosystem compatibility | ||
description: | | ||
Please describe any limitations your framework has with the React ecosystem. Include any libraries or tools that are not compatible with your framework. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Self-hosting option | ||
description: | | ||
Please describe how your framework supports self-hosting. Include any limitations to features when self-hosting. Also include whether you require a server to deploy your framework. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Developer Experience | ||
description: | | ||
Please describe how your framework provides a great developer experience. Include any limitations to React features like React DevTools, Chrome DevTools, and Fast Refresh. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: User Experience | ||
description: | | ||
Please describe how your framework helps developers create high quality user experiences by solving common use-cases. Include specifics for how your framework offers built-in support for code-splitting, routing, HTML generation, and data-fetching in a way that avoids client/server waterfalls by default. Include details on how you offer features such as SSG and SSR. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Compatible with our future vision for React | ||
description: | | ||
Please describe how your framework aligns with our future vision for React. Include how your framework will evolve with React over time, and your plans to support future React features like React Server Components. | ||
validations: | ||
required: true |
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 @@ | ||
contact_links: | ||
- name: 📃 Bugs in React | ||
url: https://github.com/facebook/react/issues/new/choose | ||
about: This issue tracker is not for bugs in React. Please file React issues here. | ||
- name: 🤔 Questions and Help | ||
url: https://reactjs.org/community/support.html | ||
about: This issue tracker is not for support questions. Please refer to the React community's help and discussion forums. |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,24 @@ | ||
/* | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
*/ | ||
|
||
import {memo} from 'react'; | ||
|
||
export const IconThreads = memo<JSX.IntrinsicElements['svg']>( | ||
function IconThreads(props) { | ||
return ( | ||
<svg | ||
aria-label="Threads" | ||
viewBox="0 0 192 192" | ||
height="1.40em" | ||
width="1.40em" | ||
fill="currentColor" | ||
xmlns="http://www.w3.org/2000/svg" | ||
{...props}> | ||
<path | ||
className="x19hqcy" | ||
d="M141.537 88.9883C140.71 88.5919 139.87 88.2104 139.019 87.8451C137.537 60.5382 122.616 44.905 97.5619 44.745C97.4484 44.7443 97.3355 44.7443 97.222 44.7443C82.2364 44.7443 69.7731 51.1409 62.102 62.7807L75.881 72.2328C81.6116 63.5383 90.6052 61.6848 97.2286 61.6848C97.3051 61.6848 97.3819 61.6848 97.4576 61.6855C105.707 61.7381 111.932 64.1366 115.961 68.814C118.893 72.2193 120.854 76.925 121.825 82.8638C114.511 81.6207 106.601 81.2385 98.145 81.7233C74.3247 83.0954 59.0111 96.9879 60.0396 116.292C60.5615 126.084 65.4397 134.508 73.775 140.011C80.8224 144.663 89.899 146.938 99.3323 146.423C111.79 145.74 121.563 140.987 128.381 132.296C133.559 125.696 136.834 117.143 138.28 106.366C144.217 109.949 148.617 114.664 151.047 120.332C155.179 129.967 155.42 145.8 142.501 158.708C131.182 170.016 117.576 174.908 97.0135 175.059C74.2042 174.89 56.9538 167.575 45.7381 153.317C35.2355 139.966 29.8077 120.682 29.6052 96C29.8077 71.3178 35.2355 52.0336 45.7381 38.6827C56.9538 24.4249 74.2039 17.11 97.0132 16.9405C119.988 17.1113 137.539 24.4614 149.184 38.788C154.894 45.8136 159.199 54.6488 162.037 64.9503L178.184 60.6422C174.744 47.9622 169.331 37.0357 161.965 27.974C147.036 9.60668 125.202 0.195148 97.0695 0H96.9569C68.8816 0.19447 47.2921 9.6418 32.7883 28.0793C19.8819 44.4864 13.2244 67.3157 13.0007 95.9325L13 96L13.0007 96.0675C13.2244 124.684 19.8819 147.514 32.7883 163.921C47.2921 182.358 68.8816 191.806 96.9569 192H97.0695C122.03 191.827 139.624 185.292 154.118 170.811C173.081 151.866 172.51 128.119 166.26 113.541C161.776 103.087 153.227 94.5962 141.537 88.9883ZM98.4405 129.507C88.0005 130.095 77.1544 125.409 76.6196 115.372C76.2232 107.93 81.9158 99.626 99.0812 98.6368C101.047 98.5234 102.976 98.468 104.871 98.468C111.106 98.468 116.939 99.0737 122.242 100.233C120.264 124.935 108.662 128.946 98.4405 129.507Z"></path> | ||
</svg> | ||
); | ||
} | ||
); |
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.