Skip to content

Commit 80632b9

Browse files
authored
[UPDATE] README.md
1 parent 0d749ac commit 80632b9

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
@@ -144,8 +144,8 @@
144144
- __COMPONENT__
145145
- [ ] 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.
146146
- [ ] Switch and Match components with fallback and when props
147-
- [ ] For: A referentially keyed loop with efficient updating of only changed items. The callback takes the current item as the first argument
148-
- [ ] 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.
147+
- [ ] 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 )
148+
- [ ] 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.
149149
- [ ] RestrictedRoute (maybe)
150150
- [ ] ErrorBoundary (?? error event listener)
151151
- [ ] Suspense: Suspence compontent react-like for async component

0 commit comments

Comments
 (0)