forked from reactjs/id.react.dev
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
e348d94
commit 926dbee
Showing
248 changed files
with
368 additions
and
3 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 |
---|---|---|
|
@@ -2,5 +2,5 @@ | |
.DS_STORE | ||
.idea | ||
node_modules | ||
public | ||
/public | ||
yarn-error.log |
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,26 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<title>React App</title> | ||
</head> | ||
|
||
<body> | ||
<noscript> | ||
You need to enable JavaScript to run this app. | ||
</noscript> | ||
<div id="root"></div> | ||
<!-- | ||
This HTML file is a template. | ||
If you open it directly in the browser, you will see an empty page. | ||
You can add webfonts, meta tags, or analytics to this file. | ||
The build step will place the bundled scripts into the <body> tag. | ||
To begin the development, run `npm start` or `yarn start`. | ||
To create a production bundle, use `npm run build` or `yarn build`. | ||
--> | ||
</body> | ||
|
||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,36 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>Hello World</title> | ||
<script src="https://unpkg.com/react@17/umd/react.development.js"></script> | ||
<script src="https://unpkg.com/react-dom@17/umd/react-dom.development.js"></script> | ||
|
||
<!-- Don't use this in production—do this: https://reactjs.org/docs/add-react-to-a-website#add-jsx-to-a-project --> | ||
<script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script type="text/babel"> | ||
|
||
ReactDOM.render( | ||
<h1>Hello, world!</h1>, | ||
document.getElementById('root') | ||
); | ||
|
||
</script> | ||
<!-- | ||
Note: this page is a great way to try React but it's not suitable for production. | ||
It slowly compiles JSX with Babel in the browser and uses a large development build of React. | ||
Read this section for a production-ready setup with JSX: | ||
https://reactjs.org/docs/docs/add-react-to-a-website#try-react-with-jsx | ||
In a larger project, you can use an integrated toolchain that includes JSX instead: | ||
https://reactjs.org/docs/start-a-new-react-project | ||
You can also use React without JSX, in which case you can remove Babel: | ||
https://reactjs.org/docs/add-react-to-a-website#add-react-in-one-minute | ||
--> | ||
</body> | ||
</html> |
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.
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.
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.
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.
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.
Binary file added
BIN
+50 KB
.../public/images/blog/create-apps-with-no-configuration/compiled-successfully.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+135 KB
...public/images/blog/create-apps-with-no-configuration/compiled-with-warnings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+136 KB
beta/public/images/blog/create-apps-with-no-configuration/created-folder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+136 KB
beta/public/images/blog/create-apps-with-no-configuration/failed-to-compile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+122 KB
beta/public/images/blog/create-apps-with-no-configuration/npm-run-build.png
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.
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.
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.
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.
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.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+7.99 KB
beta/public/images/blog/introducing-the-react-profiler/commit-selector.png
Oops, something went wrong.
Binary file added
BIN
+70.9 KB
beta/public/images/blog/introducing-the-react-profiler/component-chart.png
Oops, something went wrong.
Binary file added
BIN
+91.3 KB
beta/public/images/blog/introducing-the-react-profiler/devtools-profiler-tab.png
Oops, something went wrong.
Binary file added
BIN
+314 KB
beta/public/images/blog/introducing-the-react-profiler/filtering-commits.gif
Oops, something went wrong.
Binary file added
BIN
+46.6 KB
beta/public/images/blog/introducing-the-react-profiler/flame-chart.png
Oops, something went wrong.
Binary file added
BIN
+38.9 KB
beta/public/images/blog/introducing-the-react-profiler/interactions-for-commit.png
Oops, something went wrong.
Binary file added
BIN
+40.6 KB
beta/public/images/blog/introducing-the-react-profiler/interactions.png
Oops, something went wrong.
Binary file added
BIN
+393 KB
...og/introducing-the-react-profiler/navigate-between-interactions-and-commits.gif
Oops, something went wrong.
Binary file added
BIN
+38.7 KB
beta/public/images/blog/introducing-the-react-profiler/no-interactions.png
Oops, something went wrong.
Binary file added
BIN
+40.3 KB
...blic/images/blog/introducing-the-react-profiler/no-profiler-data-multi-root.png
Oops, something went wrong.
Binary file added
BIN
+51.1 KB
.../blog/introducing-the-react-profiler/no-render-times-for-selected-component.png
Oops, something went wrong.
Binary file added
BIN
+53.7 KB
...public/images/blog/introducing-the-react-profiler/no-timing-data-for-commit.png
Oops, something went wrong.
Binary file added
BIN
+658 KB
beta/public/images/blog/introducing-the-react-profiler/props-and-state.gif
Oops, something went wrong.
Binary file added
BIN
+49.7 KB
beta/public/images/blog/introducing-the-react-profiler/ranked-chart.png
Oops, something went wrong.
Binary file added
BIN
+414 KB
...blic/images/blog/introducing-the-react-profiler/see-all-commits-for-a-fiber.gif
Oops, something went wrong.
Binary file added
BIN
+225 KB
beta/public/images/blog/introducing-the-react-profiler/see-which-props-changed.gif
Oops, something went wrong.
Binary file added
BIN
+357 KB
...es/blog/introducing-the-react-profiler/select-a-root-to-view-profiling-data.gif
Oops, something went wrong.
Binary file added
BIN
+34.8 KB
beta/public/images/blog/introducing-the-react-profiler/start-profiling.png
Oops, something went wrong.
Binary file added
BIN
+30.4 KB
beta/public/images/blog/introducing-the-react-profiler/stop-profiling.png
Oops, something went wrong.
Binary file added
BIN
+768 KB
beta/public/images/blog/introducing-the-react-profiler/zoom-in-and-out.gif
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+27.3 KB
beta/public/images/blog/relay-components/relay-containers-data-flow.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+35.8 KB
beta/public/images/docs/error-boundaries-stack-trace-line-numbers.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+98.1 KB
beta/public/images/docs/illustrations/i_declarative-ui-programming.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
100 changes: 100 additions & 0 deletions
100
beta/public/images/docs/illustrations/i_import-export.svg
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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,16 @@ | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
*/ | ||
|
||
// Do not delete or move this file. | ||
// Many fiddles reference it so we have to keep it here. | ||
(function() { | ||
var tag = document.querySelector( | ||
'script[type="application/javascript;version=1.7"]' | ||
); | ||
if (!tag || tag.textContent.indexOf('window.onload=function(){') !== -1) { | ||
alert('Bad JSFiddle configuration, please fork the original React JSFiddle'); | ||
} | ||
tag.setAttribute('type', 'text/babel'); | ||
tag.textContent = tag.textContent.replace(/^\/\/<!\[CDATA\[/, ''); | ||
})(); |
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,16 @@ | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
*/ | ||
|
||
// Do not delete or move this file. | ||
// Many fiddles reference it so we have to keep it here. | ||
(function() { | ||
var tag = document.querySelector( | ||
'script[type="application/javascript;version=1.7"]' | ||
); | ||
if (!tag || tag.textContent.indexOf('window.onload=function(){') !== -1) { | ||
alert('Bad JSFiddle configuration, please fork the original React JSFiddle'); | ||
} | ||
tag.setAttribute('type', 'text/jsx;harmony=true'); | ||
tag.textContent = tag.textContent.replace(/^\/\/<!\[CDATA\[/, ''); | ||
})(); |
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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,5 @@ | ||
User-agent: * | ||
Disallow: / | ||
|
||
User-agent: Algolia Crawler | ||
Disallow: |
Oops, something went wrong.