2 ms·
No, you can provide the state setter, setItems, with a new copy of the state object itself. Doesn't need to be a function.
by reducesuffering 4y ago
No, you can provide the state setter, setItems, with a new copy of the state object itself. Doesn't need to be a function.