4 ms·
Sure, you can come up with an example where some synchronization is needed, but how often do you have this requirement? In most apps it is rare, which means tha
by petilon 4y ago
Sure, you can come up with an example where some synchronization is needed, but how often do you have this requirement? In most apps it is rare, which means that it can be solved by using a couple of extra lines of code to update the screen, as opposed to adopting a complex state management system with events firing and so on. Simple solutions for simple problems.
- wilde 4y agoIt is quite common. Take this screenshot of Youtube: https://imgur.com/a/nxGdcWj https://imgur.com/a/nxGdcWj The comments total at the top and each of the thread counts need to be kept in sync with their corresponding inline list representations. Most lists in apps display a total count summary. This is even more common on desktop, where you have room to display more info.