docs: correct titile level for 04b_iteration.md (#2080)

This commit is contained in:
sdutwsl 2023-11-29 08:53:41 +08:00 committed by GitHub
parent 9c44da2594
commit 1a295bb3d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -259,12 +259,12 @@ Youll 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
Its a bit more complex to set up this memo-per-row inside the `<For/>` loop rather than
using nested signals. For example, youll notice that we have to guard against the possibility