3 ms·
I don't think I understand your question, or its just a poor example. Regardless of design pattern or framework; the state all/some/none of a list, should pra
by athrowaway3z 2y ago
I don't think I understand your question, or its just a poor example.
Regardless of design pattern or framework; the state all/some/none of a list, should practically never exists as separately updated state variable. Whenever its required you need to derive it.
noneSelected = !querySelectorAll("input:checked")