diff --git a/src/content/1/en/part1d.md b/src/content/1/en/part1d.md index 10f5e49dc7..007e7a0198 100644 --- a/src/content/1/en/part1d.md +++ b/src/content/1/en/part1d.md @@ -576,6 +576,8 @@ Dev tools show the state of hooks in the order of their definition: The first State contains the value of the left state, the next contains the value of the right state and the last contains the value of the allClicks state. +You can also learn about debugging JavaScript in Chrome, for example, with the [Chrome DevTools guide video](https://developer.chrome.com/docs/devtools/javascript). + ### Rules of Hooks 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. diff --git a/src/content/1/fi/osa1d.md b/src/content/1/fi/osa1d.md index 347761b243..c86ddbc7f3 100644 --- a/src/content/1/fi/osa1d.md +++ b/src/content/1/fi/osa1d.md @@ -570,7 +570,7 @@ React Developer Tools näyttää hookeilla luodut tilan osat siinä järjestykse Ylimpänä oleva State vastaa siis tilan left arvoa, seuraava tilan right arvoa ja alimpana on taulukko allClicks. -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. +Chromella tapahtuvaan JavaScriptin debuggaukseen voi tutustua myös esim. [Chromen DevTools-ohjeen videolla](https://developer.chrome.com/docs/devtools/javascript). ### Hookien säännöt