Skip to content

Commit 52b42e9

Browse files
committed
2 parents 8a1874b + 80632b9 commit 52b42e9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/react-tools/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@
142142
- __COMPONENT__
143143
- [ ] Show component to render or not a component by a condition. Props: when, fallback, keyed. Keyed is a boolean and needs to avoid rerenders children when it is a function.
144144
- [ ] Switch and Match components with fallback and when props
145-
- [ ] For: A referentially keyed loop with efficient updating of only changed items. The callback takes the current item as the first argument
146-
- [ ] Index: Non-keyed list iteration (rendered nodes are keyed to an array index). This is useful when there is no conceptual key, like if the data consists of primitives and it is the index that is fixed rather than the value.
145+
- [ ] For/Each: A referentially keyed loop with efficient updating of only changed items. The callback takes the current item as the first argument (ref https://javascript.plainenglish.io/react-each-and-of-pattern-b00aa4305089 )
146+
- [ ] Index: Non-keyed list iteration (rendered nodes are keyed to an array index). This is useful when there is no conceptual key, like if the data consists of primitives and it is the index that is fixed rather than the value.
147147
- [ ] RestrictedRoute (maybe)
148148
- [ ] ErrorBoundary (?? error event listener)
149149
- [ ] Suspense: Suspence compontent react-like for async component

0 commit comments

Comments
 (0)