Skip to content

Commit

Permalink
closes #162
Browse files Browse the repository at this point in the history
  • Loading branch information
gbj authored Jan 30, 2025
1 parent d738934 commit 7b7260e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/view/04b_iteration.md
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,9 @@ pub fn App() -> impl IntoView {
// when we click, update each row,
// doubling its value
<button on:click=move |_| {
// allows iterating over the entries in an iterable store field
use reactive_stores::StoreFieldIterator;
// calling rows() gives us access to the rows
// .iter_unkeyed
for row in data.rows().iter_unkeyed() {
Expand Down

0 comments on commit 7b7260e

Please sign in to comment.