dimanche 9 août 2020

Checkbox filtering in React JS

I'm new to React JS and I'm trying to build the following feature. Let's say we have 10 items. Each item has a state of "isChecked" and a checkbox within. I want to add one global checkbox that will show only those items that are checked and show all if you uncheck it. Do you have maybe any ideas how it can be done?




Aucun commentaire:

Enregistrer un commentaire