I've got a todo list. Which is structured in the following matter - Main > List > listItem (Main is the parent of List and so on).
Now, each listItem has a checkbox that the user can mark. After marking several items, the user can click on "Remove Marked Items" (Let's call it multiRemove) and I want my app to go over the marked listItems and remove the relevant items.
One of my solutions is to have a list of items in the Main component and each interaction with the UI would change the list accordingly.
Would it be possible to achieve this in another way?
** Note: ** I'm not using FLUX (or its implementations).
Thank you very much.