Skip to content

Commit bc80eb3

Browse files
committed
Fix DevTools video link
1 parent 2e9bc2b commit bc80eb3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/content/1/en/part1d.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,8 @@ Dev tools show the state of hooks in the order of their definition:
576576

577577
The first <i>State</i> contains the value of the <i>left</i> state, the next contains the value of the <i>right</i> state and the last contains the value of the <i>allClicks</i> state.
578578

579+
You can also learn about debugging JavaScript in Chrome, for example, with the [Chrome DevTools guide video](https://developer.chrome.com/docs/devtools/javascript).
580+
579581
### Rules of Hooks
580582

581583
There are a few limitations and [rules](https://react.dev/warnings/invalid-hook-call-warning#breaking-rules-of-hooks) that we have to follow to ensure that our application uses hooks-based state functions correctly.

src/content/1/fi/osa1d.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ React Developer Tools näyttää hookeilla luodut tilan osat siinä järjestykse
570570

571571
Ylimpänä oleva <i>State</i> vastaa siis tilan <i>left</i> arvoa, seuraava tilan <i>right</i> arvoa ja alimpana on taulukko <i>allClicks</i>.
572572

573-
Chromella tapahtuvaan JavaScriptin debuggaukseen voi tutustua myös esim. [tämän sivun videolla](https://developer.chrome.com/docs/devtools/overview/) alkaen kohdasta 16:50.
573+
Chromella tapahtuvaan JavaScriptin debuggaukseen voi tutustua myös esim. [Chromen DevTools-ohjeen videolla](https://developer.chrome.com/docs/devtools/javascript).
574574

575575
### Hookien säännöt
576576

0 commit comments

Comments
 (0)