Skip to content

Commit 01f48f6

Browse files
authored
Merge pull request #543 from reactjs/sync-19aa5b48
Sync with reactjs.org @ 19aa5b4
2 parents 2f322b4 + fcbe09a commit 01f48f6

31 files changed

+74
-44
lines changed

beta/.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,4 @@ yarn-error.log*
3535
.vercel
3636

3737
# external fonts
38-
public/fonts/Optimistic_Display_W_Lt.woff2
39-
public/fonts/Optimistic_Display_W_Md.woff2
40-
public/fonts/Optimistic_Display_W_Bd.woff2
38+
public/fonts/Optimistic_*.woff2

beta/public/images/og-blog.png

228 KB
Loading

beta/public/images/og-community.png

225 KB
Loading

beta/public/images/og-home.png

286 KB
Loading

beta/public/images/og-learn.png

228 KB
Loading

beta/public/images/og-reference.png

229 KB
Loading

beta/public/images/og-unknown.png

286 KB
Loading
106 KB
Loading

beta/scripts/downloadFonts.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,15 @@ execSync(
1515
execSync(
1616
'curl https://conf.reactjs.org/fonts/Optimistic_Display_W_Bd.woff2 --output public/fonts/Optimistic_Display_W_Bd.woff2'
1717
);
18+
execSync(
19+
'curl https://conf.reactjs.org/fonts/Optimistic_Display_W_SBd.woff2 --output public/fonts/Optimistic_Display_W_SBd.woff2'
20+
);
21+
execSync(
22+
'curl https://conf.reactjs.org/fonts/Optimistic_Text_W_Rg.woff2 --output public/fonts/Optimistic_Text_W_Rg.woff2'
23+
);
24+
execSync(
25+
'curl https://conf.reactjs.org/fonts/Optimistic_Text_W_Md.woff2 --output public/fonts/Optimistic_Text_W_Md.woff2'
26+
);
27+
execSync(
28+
'curl https://conf.reactjs.org/fonts/Optimistic_Text_W_Bd.woff2 --output public/fonts/Optimistic_Text_W_Bd.woff2'
29+
);

beta/src/components/MDX/ConsoleBlock.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function ConsoleBlock({level = 'error', children}: ConsoleBlockProps) {
4444
<Box className="bg-gray-300 dark:bg-gray-90" width="15px" />
4545
</div>
4646
<div className="flex text-sm px-4">
47-
<div className="border-b-2 border-gray-300 dark:border-gray-90">
47+
<div className="border-b-2 border-gray-300 dark:border-gray-90 dark:text-gray-30 text-gray-50">
4848
Console
4949
</div>
5050
<div className="px-4 py-2 flex">

beta/src/content/community/conferences.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,21 @@ June 2 & 6, 2023. In-person in Amsterdam, Netherlands + remote first interactivi
3030

3131
[Website](https://reactsummit.com) - [Twitter](https://twitter.com/reactsummit) - [Facebook](https://www.facebook.com/reactamsterdam) - [Videos](https://youtube.com/c/ReactConferences)
3232

33+
### React Norway 2023 {/*react-norway-2023*/}
34+
June 16th, 2023. Larvik, Norway
35+
36+
[Website](https://reactnorway.com/) - [Twitter](https://twitter.com/ReactNorway/) - [Facebook](https://www.facebook.com/reactdaynorway/)
37+
3338
### ReactNext 2023 {/*reactnext-2023*/}
3439
June 27th, 2023. Tel Aviv, Israel
3540

3641
[Website](https://www.react-next.com/) - [Facebook](https://www.facebook.com/ReactNextConf) - [Youtube](https://www.youtube.com/@ReactNext)
3742

43+
### React Nexus 2023 {/*react-nexus-2023*/}
44+
July 07 & 08, 2023. Bangalore, India (In-person event)
45+
46+
[Website](https://reactnexus.com/) - [Twitter](https://twitter.com/ReactNexus) - [Linkedin](https://www.linkedin.com/company/react-nexus) - [YouTube](https://www.youtube.com/reactify_in)
47+
3848
### React India 2023 {/*react-india-2023*/}
3949
Oct 5 - 7, 2023. In-person in Goa, India (hybrid event) + Oct 3 2023 - remote day
4050

beta/src/content/community/team.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The React Core team members work full time on the core component APIs, the engin
1414

1515
Current members of the React team are listed in alphabetical order below.
1616

17-
<TeamMember name="Andrew Clark" permalink="andrew-clark" photo="/images/team/acdlite.jpg" github="acdlite" twitter="acdlite" title="Engineer at Meta">
17+
<TeamMember name="Andrew Clark" permalink="andrew-clark" photo="/images/team/acdlite.jpg" github="acdlite" twitter="acdlite" title="Engineer at Vercel">
1818
Andrew got started with web development by making sites with WordPress, and eventually tricked himself into doing JavaScript. His favorite pastime is karaoke. Andrew is either a Disney villain or a Disney princess, depending on the day.
1919
</TeamMember>
2020

@@ -38,10 +38,14 @@ Current members of the React team are listed in alphabetical order below.
3838
Lauren’s programming career peaked when she first discovered the `<marquee>` tag. She’s been chasing that high ever since. When she’s not adding bugs into React, she enjoys dropping cheeky memes in chat, and playing all too many video games with her partner, and her dog Zelda.
3939
</TeamMember>
4040

41-
<TeamMember name="Luna Ruan" permalink="luna-ruan" photo="/images/team/lunaruan.jpg" github="lunaruan" twitter="lunaruan" title="Engineer at Meta">
41+
<TeamMember name="Luna Ruan" permalink="luna-ruan" photo="/images/team/lunaruan.jpg" github="lunaruan" twitter="lunaruan" title="Independent Engineer">
4242
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.
4343
</TeamMember>
4444

45+
<TeamMember name="Mengdi Chen" permalink="mengdi-chen" photo="/images/team/mengdi-chen.jpg" github="mondaychen" twitter="mengdi_en" title="Engineer at Meta">
46+
While working on his Digital Arts degree Mengdi was conceited about his front-end skills because his CSS worked perfectly even on IE6. But soon React opened a new door of programming for him, and he has been dreaming of joining the React team ever since. Outside of work, he is usually busy chasing his two kids around or collecting strange recipes.
47+
</TeamMember>
48+
4549
<TeamMember name="Mofei Zhang" permalink="mofei-zhang" photo="/images/team/mofei-zhang.png" github="mofeiZ" title="Engineer at Meta">
4650
Mofei started programming when she realized it can help her cheat in video games. She focused on operating systems in undergrad / grad school, but now finds herself happily tinkering on React. Outside of work, she enjoys debugging bouldering problems and planning her next backpacking trip(s).
4751
</TeamMember>

beta/src/content/learn/conditional-rendering.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ If you're coming from an object-oriented programming background, you might assum
212212
213213
</DeepDive>
214214
215-
Now let's say you want to wrap the completed item's text into another HTML tag, like `<del>` to strike it out. You can add even more newlines and parentheses so that it's easier to nest more JSX each of the cases:
215+
Now let's say you want to wrap the completed item's text into another HTML tag, like `<del>` to strike it out. You can add even more newlines and parentheses so that it's easier to nest more JSX in each of the cases:
216216

217217
<Sandpack>
218218

beta/src/content/learn/escape-hatches.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,14 +471,14 @@ This is not ideal. You want to re-connect to the chat only if the `roomId` has c
471471

472472
```js
473473
import { useState, useEffect } from 'react';
474-
import { experimental_useEvent as useEvent } from 'react';
474+
import { experimental_useEffectEvent as useEffectEvent } from 'react';
475475
import { createConnection, sendMessage } from './chat.js';
476476
import { showNotification } from './notifications.js';
477477

478478
const serverUrl = 'https://localhost:1234';
479479

480480
function ChatRoom({ roomId, theme }) {
481-
const onConnected = useEvent(() => {
481+
const onConnected = useEffectEvent(() => {
482482
showNotification('Connected!', theme);
483483
});
484484

beta/src/content/learn/javascript-in-jsx-with-curly-braces.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ export default function TodoList() {
469469
```css
470470
body { padding: 0; margin: 0 }
471471
body > div > div { padding: 20px; }
472-
.avatar { border-radius: 50%; height: 90px; }
472+
.avatar { border-radius: 50%; }
473473
```
474474

475475
</Sandpack>
@@ -520,7 +520,7 @@ export default function TodoList() {
520520
```css
521521
body { padding: 0; margin: 0 }
522522
body > div > div { padding: 20px; }
523-
.avatar { border-radius: 50%; height: 90px; }
523+
.avatar { border-radius: 50%; }
524524
```
525525

526526
</Sandpack>
@@ -575,7 +575,7 @@ export function getImageUrl(person) {
575575
```css
576576
body { padding: 0; margin: 0 }
577577
body > div > div { padding: 20px; }
578-
.avatar { border-radius: 50%; height: 90px; }
578+
.avatar { border-radius: 50%; }
579579
```
580580

581581
</Sandpack>
@@ -584,4 +584,4 @@ body > div > div { padding: 20px; }
584584

585585
</Solution>
586586

587-
</Challenges>
587+
</Challenges>

beta/src/content/learn/lifecycle-of-reactive-effects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ If you have an existing codebase, you might have some Effects that suppress the
748748
useEffect(() => {
749749
// ...
750750
// 🔴 Avoid suppressing the linter like this:
751-
// eslint-ignore-next-line react-hooks/exhaustive-dependencies
751+
// eslint-ignore-next-line react-hooks/exhaustive-deps
752752
}, []);
753753
```
754754

beta/src/content/learn/removing-effect-dependencies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ If you have an existing codebase, you might have some Effects that suppress the
285285
useEffect(() => {
286286
// ...
287287
// 🔴 Avoid suppressing the linter like this:
288-
// eslint-ignore-next-line react-hooks/exhaustive-dependencies
288+
// eslint-ignore-next-line react-hooks/exhaustive-deps
289289
}, []);
290290
```
291291

beta/src/content/learn/tutorial-tic-tac-toe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1410,7 +1410,7 @@ But wait, there's a problem. Try clicking on the same square multiple times:
14101410
14111411
The `X` is overwritten by an `O`! While this would add a very interesting twist to the game, we're going to stick to the original rules for now.
14121412
1413-
When you mark a square with a `X` or a `O` you aren't first checking to see if the square already has a `X` or `O` value. You can fix this by *returning early*. You'll check to see if the square already has a `X` or and `O`. If the square is already filled, you will `return` in the `handleClick` function early--before it tries to update the board state.
1413+
When you mark a square with a `X` or an `O` you aren't first checking to see if the square already has a `X` or `O` value. You can fix this by *returning early*. You'll check to see if the square already has a `X` or an `O`. If the square is already filled, you will `return` in the `handleClick` function early--before it tries to update the board state.
14141414
14151415
```js {2,3,4}
14161416
function handleClick(i) {

beta/src/content/reference/react-dom/flushSync.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,6 @@ If you remove the call to `flushSync`, then when the print dialog will display `
130130

131131
`flushSync` can significantly hurt performance, and may unexpectedly force pending Suspense boundaries to show their fallback state.
132132

133-
Most of the time, `flushSync` can be avoided, so use `flushSync` as last resort.
133+
Most of the time, `flushSync` can be avoided, so use `flushSync` as a last resort.
134134

135135
</Pitfall>

beta/src/content/reference/react-dom/server/renderToReadableStream.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ const assetMap = {
167167

168168
async function handler(request) {
169169
const stream = await renderToReadableStream(<App assetMap={assetMap} />, {
170-
bootstrapScripts: [assets['/main.js']]
170+
bootstrapScripts: [assetMap['/main.js']]
171171
});
172172
return new Response(stream, {
173173
headers: { 'content-type': 'text/html' },
@@ -188,7 +188,7 @@ async function handler(request) {
188188
const stream = await renderToReadableStream(<App assetMap={assetMap} />, {
189189
// Careful: It's safe to stringify() this because this data isn't user-generated.
190190
bootstrapScriptContent: `window.assetMap = ${JSON.stringify(assetMap)};`,
191-
bootstrapScripts: [assets['/main.js']],
191+
bootstrapScripts: [assetMap['/main.js']],
192192
});
193193
return new Response(stream, {
194194
headers: { 'content-type': 'text/html' },

beta/src/content/reference/react/forwardRef.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Keep in mind that by exposing a ref to the DOM node inside your component, you'r
139139

140140
#### Focusing a text input {/*focusing-a-text-input*/}
141141

142-
Clicking the button will focus the input. The `Form` component defines a ref and passes it to the `MyInput` component. The `MyInput` component fowards that ref to the browser `<input>`. This lets the `Form` component focus the `<input>`.
142+
Clicking the button will focus the input. The `Form` component defines a ref and passes it to the `MyInput` component. The `MyInput` component forwards that ref to the browser `<input>`. This lets the `Form` component focus the `<input>`.
143143

144144
<Sandpack>
145145

beta/src/content/reference/react/isValidElement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const isElement = isValidElement(value)
2323
Call `isValidElement(value)` to check whether `value` is a React element.
2424

2525
```js
26-
import { isValidElement } from 'react';
26+
import { isValidElement, createElement } from 'react';
2727

2828
// ✅ React elements
2929
console.log(isValidElement(<p />)); // true

beta/src/content/reference/react/legacy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: "Legacy React APIs"
44

55
<Intro>
66

7-
These APIs are exported from the `react` package, but they are not recommended for use in the newly written code. See the linked individual API pages for the suggested alternatives.
7+
These APIs are exported from the `react` package, but they are not recommended for use in newly written code. See the linked individual API pages for the suggested alternatives.
88

99
</Intro>
1010

@@ -31,4 +31,4 @@ These APIs will be removed in a future major version of React.
3131

3232
</Deprecated>
3333

34-
* [`createFactory`](/reference/react/createFactory) lets you create a function that produces React elements of a certain type.
34+
* [`createFactory`](/reference/react/createFactory) lets you create a function that produces React elements of a certain type.

beta/src/content/reference/react/useContext.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,7 @@ function MyApp() {
13371337
}
13381338
```
13391339
1340-
As a result of this change, even if `MyApp` needs to re-render, the components calling `useContext(AuthProvider)` won't need to re-render unless `currentUser` has changed. Read more about [`useMemo`](/reference/react/useMemo#skipping-re-rendering-of-components) and [`useCallback`.](/reference/react/useCallback#skipping-re-rendering-of-components)
1340+
As a result of this change, even if `MyApp` needs to re-render, the components calling `useContext(AuthContext)` won't need to re-render unless `currentUser` has changed. Read more about [`useMemo`](/reference/react/useMemo#skipping-re-rendering-of-components) and [`useCallback`.](/reference/react/useCallback#skipping-re-rendering-of-components)
13411341
13421342
---
13431343

beta/src/content/reference/react/useEffect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1130,7 +1130,7 @@ If you have an existing codebase, you might have some Effects that suppress the
11301130
useEffect(() => {
11311131
// ...
11321132
// 🔴 Avoid suppressing the linter like this:
1133-
// eslint-ignore-next-line react-hooks/exhaustive-dependencies
1133+
// eslint-ignore-next-line react-hooks/exhaustive-deps
11341134
}, []);
11351135
```
11361136

beta/src/content/reference/react/useLayoutEffect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function Tooltip() {
6565
6666
* Effects **only run on the client.** They don't run during server rendering.
6767
68-
* The code inside `useLayoutEffect` and all state updates scheduled from it **block the browser from repainting the screen.** When used excessively, this can make your app very slow. When possible, prefer [`useEffect`.](/reference/reac/useEffect)
68+
* The code inside `useLayoutEffect` and all state updates scheduled from it **block the browser from repainting the screen.** When used excessively, this can make your app very slow. When possible, prefer [`useEffect`.](/reference/react/useEffect)
6969
7070
---
7171

beta/src/content/reference/react/useReducer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ React will set the next state to the result of calling the `reducer` function yo
8484
8585
* If the new value you provide is identical to the current `state`, as determined by an [`Object.is`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is) comparison, React will **skip re-rendering the component and its children.** This is an optimization. React may still need to call your component before ignoring the result, but it shouldn't affect your code.
8686
87-
* React [batches state updates.](/learn/queueing-a-series-of-state-updates) It updates the screen **after all the event handlers have run** and have called their `set` functions. This prevents multiple re-renders during a single event. In the rare case that you need to force React to update the screen earlier, for example to access the DOM, you can use [`flushSync`.](/reference/react-dom/flushsync)
87+
* React [batches state updates.](/learn/queueing-a-series-of-state-updates) It updates the screen **after all the event handlers have run** and have called their `set` functions. This prevents multiple re-renders during a single event. In the rare case that you need to force React to update the screen earlier, for example to access the DOM, you can use [`flushSync`.](/reference/react-dom/flushSync)
8888
8989
---
9090

content/community/conferences.md

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,6 @@ Do you know of a local React.js conference? Add it here! (Please keep the list c
1212

1313
## Upcoming Conferences {#upcoming-conferences}
1414

15-
### React Global Online Summit 22.2 by Geekle {#react-global-v2-2022}
16-
November 8 - 9, 2022 - Online Summit
17-
18-
[Website](https://events.geekle.us/react3/) - [LinkedIn](https://www.linkedin.com/posts/geekle-us_event-react-reactjs-activity-6964904611207864320-gpDx?utm_source=share&utm_medium=member_desktop)
19-
20-
### Remix Conf Europe 2022 {#remixconfeu-2022}
21-
November 18, 2022, 7am PST / 10am EST / 4pm CET - remote event
22-
23-
[Website](https://remixconf.eu/) - [Twitter](https://twitter.com/remixconfeu)
24-
25-
### React Day Berlin 2022 {#react-day-berlin-2022}
26-
December 2, 2022. In-person in Berlin, Germany + remote (hybrid event)
27-
28-
[Website](https://reactday.berlin) - [Twitter](https://twitter.com/reactdayberlin) - [Facebook](https://www.facebook.com/reactdayberlin/) - [Videos](https://www.youtube.com/c/ReactConferences)
2915

3016
### RemixConf 2023 {#remixconf-2023}
3117
May, 2023. Salt Lake City, UT
@@ -47,6 +33,11 @@ June 2 & 6, 2023. In-person in Amsterdam, Netherlands + remote first interactivi
4733

4834
[Website](https://reactsummit.com) - [Twitter](https://twitter.com/reactsummit) - [Facebook](https://www.facebook.com/reactamsterdam) - [Videos](https://youtube.com/c/ReactConferences)
4935

36+
### React Norway 2023 {#react-norway-2023}
37+
June 16th, 2023. Larvik, Norway
38+
39+
[Website](https://reactnorway.com/) - [Twitter](https://twitter.com/ReactNorway/) - [Facebook](https://www.facebook.com/reactdaynorway/)
40+
5041
### ReactNext 2023 {#reactnext}
5142
June 27th, 2023. Tel Aviv, Israel
5243

@@ -64,6 +55,21 @@ Oct 5 - 7, 2023. In-person in Goa, India (hybrid event) + Oct 3 2023 - remote da
6455

6556
## Past Conferences {#past-conferences}
6657

58+
### React Day Berlin 2022 {#react-day-berlin-2022}
59+
December 2, 2022. In-person in Berlin, Germany + remote (hybrid event)
60+
61+
[Website](https://reactday.berlin) - [Twitter](https://twitter.com/reactdayberlin) - [Facebook](https://www.facebook.com/reactdayberlin/) - [Videos](https://www.youtube.com/c/ReactConferences)
62+
63+
### Remix Conf Europe 2022 {#remixconfeu-2022}
64+
November 18, 2022, 7am PST / 10am EST / 4pm CET - remote event
65+
66+
[Website](https://remixconf.eu/) - [Twitter](https://twitter.com/remixconfeu)
67+
68+
### React Global Online Summit 22.2 by Geekle {#react-global-v2-2022}
69+
November 8 - 9, 2022 - Online Summit
70+
71+
[Website](https://events.geekle.us/react3/) - [LinkedIn](https://www.linkedin.com/posts/geekle-us_event-react-reactjs-activity-6964904611207864320-gpDx?utm_source=share&utm_medium=member_desktop)
72+
6773
### React Advanced 2022 {#react-advanced-2022}
6874
October 21 & 25, 2022. In-person in London, UK + remote (hybrid event)
6975

content/docs/hello-world.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
id: hello-world
33
title: Hello World
44
permalink: docs/hello-world.html
5-
prev: cdn-links.html
5+
prev: release-channels.html
66
next: introducing-jsx.html
77
---
88

content/docs/higher-order-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const EnhancedComponent = higherOrderComponent(WrappedComponent);
1414

1515
コンポーネントが props を UI に変換するのに対して、高階コンポーネントはコンポーネントを別のコンポーネントに変換します。
1616

17-
HOC は Redux における [`connect`](https://github.com/reactjs/react-redux/blob/master/docs/api/connect.md#connectmapstatetoprops-mapdispatchtoprops-mergeprops-options) や Relay における [`createFragmentContainer`](https://relay.dev/docs/v10.1.3/fragment-container/#createfragmentcontainer) のように、サードパーティ製の React ライブラリでは一般的なものです。
17+
HOC は Redux における [`connect`](https://react-redux.js.org/api/connect) や Relay における [`createFragmentContainer`](https://relay.dev/docs/v10.1.3/fragment-container/#createfragmentcontainer) のように、サードパーティ製の React ライブラリでは一般的なものです。
1818

1919
このドキュメントでは、なぜ高階コンポーネントが便利で、自身でどのように記述するのかを説明します。
2020

content/docs/how-to-contribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Issue を解決することにした場合、誰かがすでに修正に取り
8989
3. バグを修正したり、テストが必要なコードを追加した場合は、テストを追加します。
9090
4. テストスイートが通ることを確認してください (`yarn test`)。ヒント: `yarn test --watch TestName` コマンドは開発時に役立ちます。
9191
5. 本番環境でテストするために `yarn test --prod` コマンドを実行します。
92-
6. デバッガが必要な場合は `yarn debug-test --watch TestName` を実行し `chrome://inspect` を開き "Inspect" を押してください。
92+
6. デバッガが必要な場合は `yarn test --debug --watch TestName` を実行し `chrome://inspect` を開き "Inspect" を押してください。
9393
7. [prettier](https://github.com/prettier/prettier) でコードをフォーマットします (`yarn prettier`)。
9494
8. リントを行います (`yarn lint`)。ヒント: `yarn linc` は変更されたファイルのみに適用できます。
9595
9. [Flow](https://flowtype.org/) による型チェックを行います (`yarn flow`)。

0 commit comments

Comments
 (0)