3 ms·
How do you deal with propagating events through the system? If I'm clicking Follow as people are following and unfollowing, how does that number change?
by lsb 12y ago
How do you deal with propagating events through the system? If I'm clicking Follow as people are following and unfollowing, how does that number change?
- loganlinn 12y agoClicking follow mutates the global app data. Changes to the app data causes the entire application to re-render, and React pushes those changes out to the DOM. So, to answer your question, we don't propagate events :)