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

Sign up
Appearance settings

Commit 0fe4e27

Browse files
authored
fix links (#123)
* fix link * fix links
1 parent 778aaf3 commit 0fe4e27

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎src/exercise/01.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function App() {
8383
```
8484
8585
> You can pull this example up here:
86-
> http://localhost:3000/isolated/examples/counter-before.js
86+
> [/isolated/examples/counter-before.js](http://localhost:3000/isolated/examples/counter-before.js)
8787
8888
I want to focus in on the user of our reducer (the `Counter` component). Notice
8989
that they have to create their own `increment` and `decrement` functions which

‎src/exercise/06.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Props."
2020

2121
This concept is basically the same as controlled form elements in React that
2222
you've probably used many times: 📜
23-
https://react.dev/reference/react-dom/components
23+
<https://react.dev/reference/react-dom/components#form-components>
2424

2525
```javascript
2626
function MyCapitalizedInput() {
@@ -100,11 +100,11 @@ Warning: Failed prop type: You provided a `value` prop to a form field without a
100100
```
101101

102102
```
103-
Warning: A component is changing an uncontrolled input of type undefined to be controlled. Input elements should not switch from uncontrolled to controlled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components
103+
Warning: A component is changing an uncontrolled input of type undefined to be controlled. Input elements should not switch from uncontrolled to controlled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/reference/react-dom/components/input#controlling-an-input-with-a-state-variable
104104
```
105105

106106
```
107-
Warning: A component is changing a controlled input of type undefined to be uncontrolled. Input elements should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components
107+
Warning: A component is changing a controlled input of type undefined to be uncontrolled. Input elements should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/reference/react-dom/components/input#controlling-an-input-with-a-state-variable
108108
```
109109

110110
We should issue the same warnings for people who misuse our controlled props:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /