lui icon indicating copy to clipboard operation
lui copied to clipboard

Selection for node_map

Open L3P3 opened this issue 2 years ago • 0 comments

Add an optional argument to node_map which allows selecting an item. On selection change, only the unselected and selected items are updated, optimizing selection from O(n) to O(1).

Example

node_map(ListItem, list, null, 10),
...
function ListItem({ I, selected }) {}

L3P3 avatar Jan 01 '24 12:01 L3P3