Skip to content

Commit

Permalink
Fix DevTools video link
Browse files Browse the repository at this point in the history
  • Loading branch information
vejol committed Feb 7, 2025
1 parent 2e9bc2b commit bc80eb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/content/1/en/part1d.md
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,8 @@ Dev tools show the state of hooks in the order of their definition:

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.

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.
Expand Down
2 changes: 1 addition & 1 deletion src/content/1/fi/osa1d.md
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ React Developer Tools näyttää hookeilla luodut tilan osat siinä järjestykse

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>.

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

Expand Down

0 comments on commit bc80eb3

Please sign in to comment.