3 ms·
Ok, now show the cars list in three places, and one of them is a subset of only BLUE cars. Now you have to update the DOM 3x and remember that the filter you s
by orthecreedence 6y ago
Ok, now show the cars list in three places, and one of them is a subset of only BLUE cars.
Now you have to update the DOM 3x and remember that the filter you set in that one place over there means you need to only show BLUE cars in this one place over here.
When you start to build things where one piece of data is not just shown in multiple places, but is dependent on other pieces of data, managing your state starts to become more difficult than the methodology you're describing.