Skip to content

Commit

Permalink
docs: correct titile level for 04b_iteration.md (#2080)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdutwsl authored Nov 29, 2023
1 parent 9c44da2 commit 1a295bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/book/src/view/04b_iteration.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,12 +259,12 @@ You’ll notice a few differences here:
Every time `data` changes, now, each memo will be recalculated. If its value has changed,
it will update its text node, without rerendering the whole row.

## Pros
### Pros

We get the same fine-grained reactivity of the signal-wrapped version, without needing to
wrap the data in signals.

## Cons
### Cons

It’s a bit more complex to set up this memo-per-row inside the `<For/>` loop rather than
using nested signals. For example, you’ll notice that we have to guard against the possibility
Expand Down

0 comments on commit 1a295bb

Please sign in to comment.