jeudi 11 mars 2021

handling n checkboxes in a react component

How could I do if I want to handle n sets of vars of the type [variable, setVariable] so I can declare n states in a component

The proble is that I could have n checkboxes, and I have to handle the value for those n checkboxes




Aucun commentaire:

Enregistrer un commentaire