Skip to content

Commit

Permalink
Merge commit 'a1e19649c542a8ea6dbc8a0e98c3ce95dfe07419' into fix-unwr…
Browse files Browse the repository at this point in the history
…ap-atomEffect
  • Loading branch information
dai-shi committed Jan 15, 2025
2 parents c5c3125 + a1e1964 commit 3de6a43
Show file tree
Hide file tree
Showing 18 changed files with 276 additions and 9,508 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test-old-typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
fail-fast: false
matrix:
typescript:
- 5.7.2
- 5.6.3
- 5.5.4
- 5.4.5
- 5.3.3
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,8 @@ yarn-error.log*
.DS_Store
.idea

# examples
examples/**/*/package-lock.json
examples/**/*/yarn.lock
examples/**/*/pnpm-lock.yaml
examples/**/*/bun.lockb
File renamed without changes.
7 changes: 4 additions & 3 deletions docs/guides/debugging.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ function Counter() {

Now if we try `setCount`, we can see that the Redux Dev Tools logs those changes immediately.

![](https://cdn.discordapp.com/attachments/688751221464367186/930857764719329290/unknown.png)
![](https://lh3.googleusercontent.com/pw/AP1GczMgeYQOyCAc69gJIAcRBtKO9BOUEE3SQB5Bl-7IScJfChWGnVb3B0OmlhrjK8caQVnj-HtyN1cpv1l1K9kE4pxwapUwu_2OB-dO_G18ZUC1NbDJFiXYRW9jX8OeDBJeWg1Qx9_IdkfoaoIin90A8gSE=w828-h268-s-no-gm)
![]()

#### Time travel

Expand All @@ -89,12 +90,12 @@ You can hover on each action you see in the devtools and see the **Jump** option

If we don't record changes on atoms, we can stop watching those using the **Pausing** feature.

![](https://cdn.discordapp.com/attachments/688751221464367186/930893033925378118/unknown.png)
![](https://lh3.googleusercontent.com/pw/AP1GczP8hTBFtwlx0BJGGbbcXgfhMNG2Vz_uozdVnrTJHwMb1gKx55TP59WgvsMwgIyExwscgYZSpYDmxCJXjk_pKy6wP-K-0p287lkRXdTZEf074xUZr8fnIpkwg-zN14VXZ2STet1sVgTTawm49mc8Oygb=w395-h87-s-no-gm)

#### Dispatch

It's possible to set values on atoms with the **Dispatch** feature. You can do that by clicking on the **Show Dispatcher** button.
![](https://cdn.discordapp.com/attachments/688751221464367186/930895694846361680/unknown.png)
![](https://lh3.googleusercontent.com/pw/AP1GczMNn6aXTA7K8ZFzUj17I40cm0o7joOG6E76Q6UVnXYJ3TO7ItRI6Jr1EIxogfY9P2xkiQfyYqB7_aU--R_vdSyNXAtTfPuxxLymApRoZov0-6ZHS7mmxxxD4Ku1JnqTRyPyZaQHyQPkq8j4CciQaISV=w832-h149-s-no-gm)
This would set the `countAtoms`'s value to `5`.

> We should note that the value will be parsed by JSON.parse, so pass supported values.
Expand Down
Loading

0 comments on commit 3de6a43

Please sign in to comment.