Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Skaldebane authored Feb 16, 2024
1 parent bfdee83 commit 6f22bdf
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ state.subscribe((value) => {

Console output:

```ts
state = 0
```cjs
'state = 0'

// state++
cleaning up 0...
state = 1
// $state++
'cleaning up 0...'
'state = 1'

// state = 5
cleaning up 1...
state = 5
// $state = 5
'cleaning up 1...'
'state = 5'
```

## Example
Expand Down

0 comments on commit 6f22bdf

Please sign in to comment.