File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ export { Iterate, type IterateProps };
38
38
* }
39
39
* ```
40
40
*
41
- * `<Iterate>` may be preferable over {@link useAsyncIter `useAsyncIter`} typically as the UI area it
42
- * controls the rendering for is constrainable down to the essential , saving some React elements from
43
- * unnecessary re-renderings while placable clearly and elegantly within some larger component's UI
44
- * output. In regard to {@link useAsyncIter `useAsyncIter`} being a hook though, it has to
45
- * re-render the entire component output for every new value.
41
+ * `<Iterate>` may be preferable over {@link useAsyncIter `useAsyncIter`} typically as the UI area
42
+ * it re-renders can be expressively confined to the minimum necessary , saving unrelated elements
43
+ * within UI of a larger component from re-evaluating. On the other hand, the
44
+ * counterpart {@link useAsyncIter `useAsyncIter`} being a hook has to re-render the entire
45
+ * component output for every new value.
46
46
*
47
47
* Given an async iterable as the `value` prop, this component will iterate it and render each new
48
48
* value that becomes available together with any possible completion or error it may run into.
You can’t perform that action at this time.
0 commit comments