Skip to content Skip to sidebar Skip to footer

Checkbox Values To Be Added To State Hooks

Hello I want to add checkbox checked items to the hooks state. here is the scenerio This is my initial array items: [ { id: 1, name: 'Ramesh Mehta

Solution 1:

You can use setHobbies to add the result to the hobbies

setHobbies(result);

Post a Comment for "Checkbox Values To Be Added To State Hooks"